chore: update nuxt to 3.10.3 (#2610)
This commit is contained in:
parent
1fefb6e5b6
commit
55037f04cd
53 changed files with 3584 additions and 3766 deletions
|
@ -1,9 +1,9 @@
|
|||
import { createResolver, useNuxt } from '@nuxt/kit'
|
||||
import { isCI, isDevelopment, isWindows } from 'std-env'
|
||||
import { isPreview } from './config/env'
|
||||
import { i18n } from './config/i18n'
|
||||
import { pwa } from './config/pwa'
|
||||
import type { BuildInfo } from './types'
|
||||
import { currentLocales } from './config/i18n'
|
||||
|
||||
const { resolve } = createResolver(import.meta.url)
|
||||
|
||||
|
@ -34,7 +34,6 @@ export default defineNuxtConfig({
|
|||
'stale-dep/nuxt',
|
||||
],
|
||||
vue: {
|
||||
defineModel: true,
|
||||
propsDestructure: true,
|
||||
},
|
||||
macros: {
|
||||
|
@ -46,9 +45,11 @@ export default defineNuxtConfig({
|
|||
devtools: {
|
||||
enabled: true,
|
||||
},
|
||||
features: {
|
||||
inlineStyles: false,
|
||||
},
|
||||
experimental: {
|
||||
payloadExtraction: false,
|
||||
inlineSSRStyles: false,
|
||||
renderJsonPayloads: true,
|
||||
},
|
||||
css: [
|
||||
|
@ -277,7 +278,15 @@ export default defineNuxtConfig({
|
|||
rateLimiter: false,
|
||||
},
|
||||
colorMode: { classSuffix: '' },
|
||||
i18n,
|
||||
i18n: {
|
||||
locales: currentLocales,
|
||||
lazy: true,
|
||||
strategy: 'no_prefix',
|
||||
detectBrowserLanguage: false,
|
||||
langDir: 'locales',
|
||||
defaultLocale: 'en-US',
|
||||
vueI18n: './config/i18n.config.ts',
|
||||
},
|
||||
pwa,
|
||||
staleDep: {
|
||||
packageManager: 'pnpm',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue