initial commit
This commit is contained in:
58
nuxt.config.ts
Normal file
58
nuxt.config.ts
Normal file
@@ -0,0 +1,58 @@
|
||||
// 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
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user