@iqual/nuxt-icms 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/nuxt.config.ts
CHANGED
|
@@ -22,7 +22,6 @@ const transformColor = (color: string): number[] => {
|
|
|
22
22
|
return color.substring(4, color.length - 1).replace(/ /g, '').split(',').map(Number)
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
const LANGCODES = ['en', 'de', 'fr', 'it']
|
|
26
25
|
const currentDir = dirname(fileURLToPath(import.meta.url))
|
|
27
26
|
|
|
28
27
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
|
@@ -44,7 +43,6 @@ export default defineNuxtConfig({
|
|
|
44
43
|
title: 'ICMS Base',
|
|
45
44
|
htmlAttrs: {
|
|
46
45
|
tagDuplicateStrategy: 'merge',
|
|
47
|
-
lang: LANGCODES[0],
|
|
48
46
|
},
|
|
49
47
|
link: [
|
|
50
48
|
{ rel: 'shortcut icon', type: 'image/x-icon', href: '/favicon/favicon.ico' },
|
|
@@ -136,7 +134,6 @@ export default defineNuxtConfig({
|
|
|
136
134
|
vuepal: {
|
|
137
135
|
frontendRouting: {
|
|
138
136
|
enabled: IS_DEV,
|
|
139
|
-
defaultLanguage: LANGCODES[0],
|
|
140
137
|
outputPath: './../drupal/config/default/frontend_routing.settings.yml',
|
|
141
138
|
},
|
|
142
139
|
adminToolbar: {
|
|
@@ -267,7 +264,6 @@ export default defineNuxtConfig({
|
|
|
267
264
|
},
|
|
268
265
|
|
|
269
266
|
languageNegotiation: {
|
|
270
|
-
languages: LANGCODES,
|
|
271
267
|
negotiators: [
|
|
272
268
|
pathPrefix(),
|
|
273
269
|
query({ keys: ['language', 'langcode'] }),
|
|
@@ -517,7 +513,6 @@ export default defineNuxtConfig({
|
|
|
517
513
|
schemaOptionsPath: IS_DEV
|
|
518
514
|
? '../drupal/docroot/libraries/icms-blokkli-customization/data/schema.json'
|
|
519
515
|
: undefined,
|
|
520
|
-
defaultLanguage: LANGCODES[0],
|
|
521
516
|
// Make sure the editor is always rendered in German instead of the
|
|
522
517
|
// current page language.
|
|
523
518
|
forceDefaultLanguage: false,
|