8000 fix(examples): add missing `@nuxt/ui` examples · romhml/compodium@acf0a33 · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit acf0a33

Browse files
committed
fix(examples): add missing @nuxt/ui examples
1 parent 7ffa032 commit acf0a33

15 files changed

Lines changed: 71 additions & 11 deletions

‎packages/examples/src/examples/ui/AccordionExample.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ extendCompodiumMeta({
1919
</script>
2020

2121
<template>
22-
<UAccordion />
22+
<UAccordion class="w-96" />
2323
</template>

‎packages/examples/src/examples/ui/AlertExample.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ extendCompodiumMeta({
77
</script>
88

99
<template>
10-
<UAlert />
10+
<UAlert class="w-60" />
1111
</template>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<UCalendar />
3+
</template>

‎packages/examples/src/examples/ui/CarouselExample.vue‎

Lines changed: 3 additions & 3 deletions
5
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
v-slot="{ item }"
44
class="w-xs h-xs"
5
:items="[
6-
'https://picsum.photos/320/320?v=1',
7-
'https://picsum.photos/320/320?v=2',
8-
'https://picsum.photos/320/320?v=3'
6+
'https://picsum.photos/id/240/320/320',
7+
'https://picsum.photos/id/241/320/320',
8+
'https://picsum.photos/id/242/320/320'
99
]"
1010
>
1111
<img
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<UColorPicker />
3+
</template>

‎packages/examples/src/examples/ui/ContextMenuExample.vue‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ extendCompodiumMeta({
2020
</script>
2121

2222
<template>
23-
<UContextMenu>
24-
<div class="placeholder aspect-video w-72">
25-
Right click here
26-
</div>
27-
</UContextMenu>
23+
<div>
24+
<UContextMenu>
25+
<div class="placeholder aspect-video w-72">
26+
Right click here
27+
</div>
28+
</UContextMenu>
29+
</div>
2830
</template>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<UInput />
3+
</template>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<UInputNumber />
3+
</template>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<UInputTags />
3+
</template>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<template>
2+
<UPinInput />
3+
</template>

0 commit comments

Comments
 (0)
0