20 lines
475 B
TypeScript
20 lines
475 B
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2024-11-01',
|
|
devtools: { enabled: true },
|
|
modules: ['@nuxt/image', '@nuxt/ui', 'shadcn-nuxt'],
|
|
ui: {
|
|
prefix: 'NuxtUi'
|
|
},
|
|
shadcn: {
|
|
/**
|
|
* Prefix for all the imported component
|
|
*/
|
|
prefix: 'Shad',
|
|
/**
|
|
* Directory that the component lives in.
|
|
* @default "./components/ui"
|
|
*/
|
|
componentDir: './components/ui'
|
|
}
|
|
}) |