Nuxt/examples/with-components/nuxt.config.ts
Anthony Fu afcaaff57d
chore(example): use @nuxt/ui for examples (#2325)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-12-23 20:27:08 +01:00

18 lines
283 B
TypeScript

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