initial commit
This commit is contained in:
51
nuxt.config.ts
Normal file
51
nuxt.config.ts
Normal file
@@ -0,0 +1,51 @@
|
||||
// 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'],
|
||||
runtimeConfig: {
|
||||
pocketbaseUrl: '', // NUXT_POCKESBASE_URL
|
||||
},
|
||||
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,
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user