doc(ui-docs): remove docs-only boilerplate code

This commit is contained in:
upsiflu 2025-01-16 10:31:31 +02:00
parent 68885b46b3
commit 4da49c0bd6
1 changed files with 5 additions and 11 deletions

View File

@ -27,9 +27,7 @@ import Pills from "~/components/ui/Pills.vue"
# Pills # Pills
```vue-html ```vue-html
<Layout class="preview" style="padding:16px">
<Pills v-model="staticModel" label="Tags" /> <Pills v-model="staticModel" label="Tags" />
</Layout>
``` ```
<Layout class="preview" style="padding:16px"> <Layout class="preview" style="padding:16px">
@ -39,10 +37,8 @@ import Pills from "~/components/ui/Pills.vue"
Select a set of pills from presets, and add and remove custom ones Select a set of pills from presets, and add and remove custom ones
```vue-html ```vue-html
<Layout class="preview" style="padding:16px">
<Pills v-model="interactiveModel" label="Tags" /> <Pills v-model="interactiveModel" label="Tags" />
<Input label="Label" placeholder="Placeholder"></Input> <Input label="Label" placeholder="Placeholder"></Input>
</Layout>
``` ```
<Layout class="preview" style="padding:16px"> <Layout class="preview" style="padding:16px">
@ -53,9 +49,7 @@ Select a set of pills from presets, and add and remove custom ones
## No pills ## No pills
```vue-html ```vue-html
<Layout class="preview" style="padding:16px">
<Pills v-model="nullModel" /> <Pills v-model="nullModel" />
</Layout>
``` ```
<Layout class="preview" style="padding:16px"> <Layout class="preview" style="padding:16px">