make locale support import on demand

This commit is contained in:
zhigang.li 2017-11-30 17:11:51 +08:00
parent 5a02cf4c0a
commit d1a6505943
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,3 @@
import locale from '../../locale/index';
export default locale.i18n;

View file

@ -0,0 +1,3 @@
import locale from '../../locale/index';
export default locale.use;