Nuxt/docs/components/atoms/NuxtContainer.vue

19 lines
307 B
Vue
Raw Normal View History

<template>
<Component :is="tag" class="relative w-full d-container-content">
<slot />
</Component>
</template>
<script>
import { defineComponent } from '@nuxtjs/composition-api'
export default defineComponent({
props: {
tag: {
type: String,
default: 'div'
}
}
})
</script>