mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
feat: 优化 vue-i18n 引入
This commit is contained in:
parent
6fec42a19b
commit
3f93b32376
@ -10,10 +10,6 @@ export default (api) => {
|
|||||||
utils: { Mustache }
|
utils: { Mustache }
|
||||||
} = api;
|
} = api;
|
||||||
|
|
||||||
api.chainWebpack((memo) => {
|
|
||||||
memo.resolve.alias.set('vue-i18n', 'vue-i18n/dist/vue-i18n.esm-bundler.js');
|
|
||||||
});
|
|
||||||
|
|
||||||
api.describe({
|
api.describe({
|
||||||
key: 'locale',
|
key: 'locale',
|
||||||
config: {
|
config: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user