chore(config): add compatibility date to nuxt configuration
Adds a compatibility date for future reference.
This commit is contained in:
@@ -5,7 +5,9 @@ export default defineNuxtConfig({
|
||||
build: {
|
||||
transpile: ['vuetify', 'date-fns'],
|
||||
},
|
||||
|
||||
devtools: { enabled: true },
|
||||
|
||||
i18n: {
|
||||
detectBrowserLanguage: {
|
||||
useCookie: true,
|
||||
@@ -23,6 +25,7 @@ export default defineNuxtConfig({
|
||||
defaultLocale: 'sv',
|
||||
vueI18n: './i18n.config.ts', // if you are using custom path, default
|
||||
},
|
||||
|
||||
modules: [
|
||||
(_options, nuxt) => {
|
||||
nuxt.hooks.hook('vite:extendConfig', (config) => {
|
||||
@@ -42,13 +45,16 @@ export default defineNuxtConfig({
|
||||
'@nuxt/devtools',
|
||||
'@sentry/nuxt/module',
|
||||
],
|
||||
|
||||
piniaPersistedstate: {
|
||||
cookieOptions: {
|
||||
sameSite: 'strict',
|
||||
},
|
||||
storage: 'localStorage',
|
||||
},
|
||||
|
||||
ssr: false,
|
||||
|
||||
vite: {
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
@@ -66,4 +72,6 @@ export default defineNuxtConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
compatibilityDate: '2024-11-03',
|
||||
})
|
||||
Reference in New Issue
Block a user