website/nuxt.config.ts

61 lines
1,007 B
TypeScript
Raw Permalink Normal View History

2026-05-12 21:05:12 +02:00
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
2026-05-12 21:05:12 +02:00
modules: [
'@nuxt/eslint',
'@nuxt/ui',
'@nuxt/icon'
2026-05-12 21:05:12 +02:00
],
2026-05-13 03:19:37 +02:00
devtools: {
enabled: true
},
2026-06-03 18:32:07 +02:00
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
css: ['~/assets/css/main.css'],
2026-05-13 00:13:45 +02:00
colorMode: {
preference: 'dark',
fallback: 'dark',
storageKey: 'nuxt-color-mode'
},
2026-06-03 18:32:07 +02:00
2026-05-13 00:13:45 +02:00
srcDir: 'app/',
2026-05-12 21:05:12 +02:00
routeRules: {
'/': { prerender: true }
},
compatibilityDate: '2025-01-15',
2026-06-03 18:32:07 +02:00
nitro: {
preset: 'bun'
},
2026-05-12 21:05:12 +02:00
eslint: {
config: {
stylistic: {
commaDangle: 'never',
braceStyle: '1tbs'
}
}
}
2026-06-03 18:32:07 +02:00
})