diff --git a/front/src/components/Footer.vue b/front/src/components/Footer.vue index a0543e1e3..f62bc548b 100644 --- a/front/src/components/Footer.vue +++ b/front/src/components/Footer.vue @@ -81,6 +81,7 @@ export default { let self = this import(`../translations/${value}.json`).then((response) =>{ Vue.$translations[value] = response.default[value] + }).finally(() => { self.$language.current = value }) } diff --git a/front/vue.config.js b/front/vue.config.js index ede81fd1a..f4d96898e 100644 --- a/front/vue.config.js +++ b/front/vue.config.js @@ -37,6 +37,9 @@ module.exports = { }, chainWebpack: config => { config.optimization.delete('splitChunks') + console.log(config.plugins) + config.plugins.delete('prefetch-embed') + config.plugins.delete('prefetch-index') }, configureWebpack: { plugins: plugins,