- Moved `app.config.ts` to the `app` directory - Migrated `.vue` files and other assets to the `app` directory - Updated import paths to reflect the new file locations
19 lines
470 B
Vue
19 lines
470 B
Vue
<script lang="ts" setup>
|
|
import type { DrawerRootEmits, DrawerRootProps } from 'vaul-vue'
|
|
import { useForwardPropsEmits } from 'radix-vue'
|
|
import { DrawerRoot } from 'vaul-vue'
|
|
|
|
const props = withDefaults(defineProps<DrawerRootProps>(), {
|
|
shouldScaleBackground: true,
|
|
})
|
|
|
|
const emits = defineEmits<DrawerRootEmits>()
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits)
|
|
</script>
|
|
|
|
<template>
|
|
<DrawerRoot v-bind="forwarded">
|
|
<slot />
|
|
</DrawerRoot>
|
|
</template>
|