make locale support import on demand
This commit is contained in:
parent
5a02cf4c0a
commit
d1a6505943
2 changed files with 6 additions and 0 deletions
3
src/components/i18n/index.js
Normal file
3
src/components/i18n/index.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
import locale from '../../locale/index';
|
||||
|
||||
export default locale.i18n;
|
3
src/components/locale/index.js
Normal file
3
src/components/locale/index.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
import locale from '../../locale/index';
|
||||
|
||||
export default locale.use;
|
Loading…
Add table
Reference in a new issue