59 lines
1.1 KiB
TypeScript
59 lines
1.1 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
export default defineNuxtConfig({
|
|
modules: [
|
|
'@nuxt/eslint',
|
|
'@nuxt/ui',
|
|
'@nuxt/hints',
|
|
'@nuxt/image',
|
|
'@pinia/nuxt',
|
|
'@nuxt/test-utils'
|
|
],
|
|
devtools: {
|
|
enabled: true,
|
|
vueDevTools: true,
|
|
telemetry: false,
|
|
timeline: {
|
|
enabled: true
|
|
}
|
|
},
|
|
css: ['~/assets/css/main.css'],
|
|
routeRules: {
|
|
'/': { prerender: true }
|
|
},
|
|
compatibilityDate: '2025-01-15',
|
|
postcss: {
|
|
plugins: {
|
|
'@tailwindcss/postcss': {},
|
|
'autoprefixer': {}
|
|
}
|
|
},
|
|
eslint: {
|
|
config: {
|
|
stylistic: {
|
|
commaDangle: 'never',
|
|
braceStyle: '1tbs'
|
|
}
|
|
}
|
|
},
|
|
fonts: {
|
|
provider: 'google',
|
|
processCSSVariables: true,
|
|
defaults: {
|
|
weights: [400, 700],
|
|
styles: ['normal', 'italic']
|
|
},
|
|
families: [
|
|
{ name: 'Noto Sans', provider: 'google' },
|
|
{ name: 'Wittgenstein', provider: 'google' }
|
|
]
|
|
},
|
|
icon: {
|
|
clientBundle: {
|
|
scan: true
|
|
}
|
|
},
|
|
runtimeConfig: {
|
|
pocketbaseUrl: '' // NUXT_POCKESBASE_URL
|
|
}
|
|
})
|