@dargmuesli/nuxt-vio 14.0.2 → 14.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/nuxt.config.ts +3 -3
- package/package.json +2 -2
- package/utils/constants.ts +3 -3
package/nuxt.config.ts
CHANGED
@@ -104,6 +104,9 @@ export default defineNuxtConfig(
|
|
104
104
|
},
|
105
105
|
runtimeConfig: {
|
106
106
|
public: {
|
107
|
+
i18n: {
|
108
|
+
baseUrl: SITE_URL,
|
109
|
+
},
|
107
110
|
site: {
|
108
111
|
url: SITE_URL,
|
109
112
|
},
|
@@ -292,9 +295,6 @@ export default defineNuxtConfig(
|
|
292
295
|
$production: {
|
293
296
|
runtimeConfig: {
|
294
297
|
public: {
|
295
|
-
i18n: {
|
296
|
-
baseUrl: SITE_URL,
|
297
|
-
},
|
298
298
|
vio: {
|
299
299
|
isInProduction: true,
|
300
300
|
},
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"@nuxt/image": "1.8.0",
|
11
11
|
"@nuxtjs/color-mode": "3.5.1",
|
12
12
|
"@nuxtjs/html-validator": "1.8.2",
|
13
|
-
"@nuxtjs/i18n": "8.
|
13
|
+
"@nuxtjs/i18n": "8.5.5",
|
14
14
|
"@nuxtjs/seo": "2.0.0-rc.21",
|
15
15
|
"@nuxtjs/tailwindcss": "6.12.1",
|
16
16
|
"@pinia/nuxt": "0.5.4",
|
@@ -117,5 +117,5 @@
|
|
117
117
|
"start:static": "serve .playground/.output/public --ssl-cert ./.config/certificates/ssl.crt --ssl-key ./.config/certificates/ssl.key"
|
118
118
|
},
|
119
119
|
"type": "module",
|
120
|
-
"version": "14.0.
|
120
|
+
"version": "14.0.3"
|
121
121
|
}
|
package/utils/constants.ts
CHANGED
@@ -137,14 +137,14 @@ export const I18N_MODULE_CONFIG = {
|
|
137
137
|
{
|
138
138
|
code: 'en',
|
139
139
|
file: 'en.json',
|
140
|
-
|
141
|
-
|
140
|
+
language: 'en', // could be `en-US` is multiple `en` locales are differentiated
|
141
|
+
name: 'English', // Will be used as catchall locale by default.
|
142
142
|
},
|
143
143
|
{
|
144
144
|
code: 'de',
|
145
145
|
file: 'de.json',
|
146
|
+
language: 'de', // could be `de-DE` is multiple `de` locales are differentiated
|
146
147
|
name: 'Deutsch',
|
147
|
-
iso: 'de',
|
148
148
|
},
|
149
149
|
],
|
150
150
|
}
|