Nuxt/examples/with-components/nuxt.config.ts

15 lines
250 B
TypeScript
Raw Normal View History

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