Skip to content

Commit

Permalink
chore: example build
Browse files Browse the repository at this point in the history
  • Loading branch information
Seedsa committed May 20, 2024
1 parent 9a58bad commit 4b478a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
1 change: 1 addition & 0 deletions examples/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
{{ content }}
</div>
</div>
<div class="flex items-center gap-1 fixed bottom-6 right-6 z-[99999] p-1">1 adslakda23</div>
</template>
<script setup lang="ts">
import { ref } from 'vue'
Expand Down
20 changes: 5 additions & 15 deletions examples/demo-content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,37 +49,27 @@ export const DEMO_CONTENT = {
{ type: 'paragraph', attrs: { class: null, textAlign: 'start', indent: 0, lineHeight: null } },
{
type: 'columns',
attrs: { layout: 'two-column' },
content: [
{
type: 'column',
attrs: { position: '' },
attrs: { position: 'left' },
content: [
{
type: 'paragraph',
attrs: { class: null, textAlign: 'left', indent: 0, lineHeight: null },
content: [{ type: 'text', text: '1' }],
content: [{ type: 'text', text: '多栏布局' }],
},
],
},
{
type: 'column',
attrs: { position: '' },
attrs: { position: 'right' },
content: [
{
type: 'paragraph',
attrs: { class: null, textAlign: 'left', indent: 0, lineHeight: null },
content: [{ type: 'text', text: '2' }],
},
],
},
{
type: 'column',
attrs: { position: '' },
content: [
{
type: 'paragraph',
attrs: { class: null, textAlign: 'left', indent: 0, lineHeight: null },
content: [{ type: 'text', text: '3' }],
content: [{ type: 'text', text: '多栏布局' }],
},
],
},
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"dev": "vite --config vite-example.config.ts",
"build:lib": "vite build",
"build:styles": "pnpm sass ./src/styles:./lib/styles --style=compressed --no-source-map",
"build:examples": "pnpm build:lib && vite build --config vite-example.config.ts",
"preview": "vite preview",
"git-commit": "git-cz",
"prettier": "prettier --write .",
Expand Down

0 comments on commit 4b478a8

Please sign in to comment.