mirror of
https://github.com/nuxt/ui.git
synced 2026-09-14 19:51:10 +08:00
c97047da46
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
19 lines
340 B
Vue
19 lines
340 B
Vue
<script setup lang="ts">
|
|
import MyButton from './MyButton.vue'
|
|
</script>
|
|
|
|
<template>
|
|
<UTheme
|
|
:ui="{
|
|
button: {
|
|
base: 'rounded-full'
|
|
}
|
|
}"
|
|
>
|
|
<UCard :ui="{ body: 'flex items-center gap-2 sm:flex-row flex-col' }">
|
|
<UButton label="Direct child" />
|
|
<MyButton />
|
|
</UCard>
|
|
</UTheme>
|
|
</template>
|