Nuxt/examples/auto-imports/components/nuxt.config.ts

16 lines
241 B
TypeScript

export default defineNuxtConfig({
modules: [
'@nuxt/ui'
],
components: {
dirs: [
'~/components',
{
path: '~/other-components-folder',
extensions: ['vue'],
prefix: 'nuxt'
}
]
}
})