From d1a6505943ed7af3611bed9f45d7232eed74e671 Mon Sep 17 00:00:00 2001 From: zhigang.li Date: Thu, 30 Nov 2017 17:11:51 +0800 Subject: [PATCH] make locale support import on demand --- src/components/i18n/index.js | 3 +++ src/components/locale/index.js | 3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) create mode 100644 src/components/i18n/index.js create mode 100644 src/components/locale/index.js diff --git a/src/components/i18n/index.js b/src/components/i18n/index.js new file mode 100644 index 0000000..0842260 --- /dev/null +++ b/src/components/i18n/index.js @@ -0,0 +1,3 @@ +import locale from '../../locale/index'; + +export default locale.i18n; \ No newline at end of file diff --git a/src/components/locale/index.js b/src/components/locale/index.js new file mode 100644 index 0000000..babe402 --- /dev/null +++ b/src/components/locale/index.js @@ -0,0 +1,3 @@ +import locale from '../../locale/index'; + +export default locale.use; \ No newline at end of file -- libgit2 0.21.4