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
```vue-html
<Layout class="preview" style="padding:16px">
<Pills v-model="staticModel" label="Tags" />
</Layout>
<Pills v-model="staticModel" label="Tags" />
```
<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
```vue-html
<Layout class="preview" style="padding:16px">
<Pills v-model="interactiveModel" label="Tags" />
<Input label="Label" placeholder="Placeholder"></Input>
</Layout>
<Pills v-model="interactiveModel" label="Tags" />
<Input label="Label" placeholder="Placeholder"></Input>
```
<Layout class="preview" style="padding:16px">
@ -53,11 +49,9 @@ Select a set of pills from presets, and add and remove custom ones
## No pills
```vue-html
<Layout class="preview" style="padding:16px">
<Pills v-model="nullModel" />
</Layout>
<Pills v-model="nullModel" />
```
<Layout class="preview" style="padding:16px">
<Pills v-model="nullModel" />
<Pills v-model="nullModel" />
</Layout>