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.
 
 
 
 

41 lines
1.1 KiB

import tailwindcss from '@tailwindcss/vite'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
modules: ['@pinia/nuxt'],
css: ['~/assets/css/tailwind.css', '~/assets/css/main.css'],
components: [
{ path: '~/components', pathPrefix: false },
],
devtools: { enabled: true },
app: {
head: {
link: [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600&family=DM+Mono:wght@400;500&family=Outfit:wght@300;400;500;600&display=swap' },
],
},
},
vite: {
plugins: [
tailwindcss(),
]
},
nitro: {
typescript: {
tsConfig: {
compilerOptions: {
resolvePackageJsonExports: true,
resolvePackageJsonImports: true,
baseUrl: './',
paths: {
'drizzle-pkg': ['./packages/drizzle-pkg/lib'],
'logger': ['./packages/logger/lib']
},
}
},
}
},
})