chore(playground): compodium setup

This commit is contained in:
Romain Hamel
2025-03-26 11:40:23 +01:00
parent f68061975c
commit 15fe0039f0
47 changed files with 1077 additions and 152 deletions

View File

@@ -0,0 +1,23 @@
<script setup lang="ts">
extendCompodiumMeta({
defaultProps: {
items: [
'https://picsum.photos/320/320?v=1',
'https://picsum.photos/320/320?v=2',
'https://picsum.photos/320/320?v=3'
]
}
})
</script>
<template>
<UCarousel
v-slot="{ item }"
class="w-xs h-xs"
>
<img
:src="item"
class="rounded-lg"
>
</UCarousel>
</template>