You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1013 B
47 lines
1013 B
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-07-15',
|
|
css: ['~/assets/css/tailwind.css', '~/assets/css/main.css'],
|
|
devtools: { enabled: true },
|
|
modules: ['shadcn-nuxt'],
|
|
shadcn: {
|
|
prefix: 'Ui',
|
|
componentDir: [
|
|
'@/components/ui',
|
|
{
|
|
path: '@/components/ai',
|
|
prefix: 'Ai',
|
|
},
|
|
],
|
|
},
|
|
vite: {
|
|
plugins: [
|
|
tailwindcss(),
|
|
],
|
|
optimizeDeps: {
|
|
include: [
|
|
'class-variance-authority',
|
|
'clsx',
|
|
'reka-ui',
|
|
'tailwind-merge',
|
|
]
|
|
}
|
|
},
|
|
nitro: {
|
|
typescript: {
|
|
tsConfig: {
|
|
compilerOptions: {
|
|
resolvePackageJsonExports: true,
|
|
resolvePackageJsonImports: true,
|
|
baseUrl: './',
|
|
paths: {
|
|
'drizzle-pkg': ['./packages/drizzle-pkg/lib'],
|
|
'logger': ['./packages/logger/lib']
|
|
},
|
|
}
|
|
},
|
|
}
|
|
},
|
|
})
|
|
|