website/nuxt.config.ts
kittentm 64bc40f341
All checks were successful
ci / ci (22, debian-trixie) (push) Successful in 29s
feat: use octicon instead of manually importing
2026-05-13 03:46:50 +02:00

55 lines
970 B
TypeScript

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