Set up i18n

This commit is contained in:
Iván Ovejero
2021-11-09 09:59:48 +01:00
parent a46c7f827d
commit 1de9ecf4ec
19 changed files with 1891 additions and 13 deletions

View File

@@ -1,5 +1,8 @@
module.exports = {
chainWebpack: config => config.resolve.symlinks(false),
chainWebpack: config => {
config.resolve.symlinks(false);
// config.plugins.delete("prefetch"); // enable when language package grows
},
// transpileDependencies: [
// // 'node_modules/quill'
// /\/node_modules\/quill\//
@@ -8,6 +11,12 @@ module.exports = {
webpackBundleAnalyzer: {
openAnalyzer: false,
},
i18n: {
locale: "en",
fallbackLocale: "en",
localeDir: "./src/i18n/locales",
enableInSFC: false,
},
},
configureWebpack: {
devServer: {