website/nuxt.config.ts

54 lines
951 B
TypeScript
Raw Normal View History

2026-05-12 21:05:12 +02:00
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'@nuxt/eslint',
'@nuxt/ui'
],
2026-05-13 01:04:57 +02:00
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=Archivo+Black&display=swap'
}
]
}
},
2026-05-12 21:05:12 +02:00
devtools: {
enabled: true
},
css: ['~/assets/css/main.css'],
2026-05-13 00:13:45 +02:00
colorMode: {
preference: 'dark',
fallback: 'dark',
storageKey: 'nuxt-color-mode'
},
srcDir: 'app/',
2026-05-12 21:05:12 +02:00
routeRules: {
'/': { prerender: true }
},
compatibilityDate: '2025-01-15',
eslint: {
config: {
stylistic: {
commaDangle: 'never',
braceStyle: '1tbs'
}
}
}
2026-05-13 01:04:57 +02:00
})