Add locale feature (#678)
fix
Showing
... | @@ -17,7 +17,7 @@ | ... | @@ -17,7 +17,7 @@ |
"deploy": "npm run build:file && cooking build -c build/cooking.demo.js -p && echo element.eleme.io>>examples/element-ui/CNAME && gh-pages -d examples/element-ui --remote eleme && del examples/element-ui", | "deploy": "npm run build:file && cooking build -c build/cooking.demo.js -p && echo element.eleme.io>>examples/element-ui/CNAME && gh-pages -d examples/element-ui --remote eleme && del examples/element-ui", | ||
"pub": "sh build/release.sh", | "pub": "sh build/release.sh", | ||
"pub:all": "npm run dist:all && lerna publish", | "pub:all": "npm run dist:all && lerna publish", | ||
"build:utils": "babel src --out-dir lib --ignore index.js", | "build:utils": "BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js", | ||
"clean": "rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage", | "clean": "rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage", | ||
"lint": "eslint src/**/* test/**/* packages/**/*.{js,vue} build/**/* --quiet", | "lint": "eslint src/**/* test/**/* packages/**/*.{js,vue} build/**/* --quiet", | ||
"test:watch": "karma start test/unit/karma.conf.js", | "test:watch": "karma start test/unit/karma.conf.js", | ||
... | @@ -50,6 +50,7 @@ | ... | @@ -50,6 +50,7 @@ |
"babel-core": "^6.14.0", | "babel-core": "^6.14.0", | ||
"babel-helper-vue-jsx-merge-props": "^2.0.0", | "babel-helper-vue-jsx-merge-props": "^2.0.0", | ||
"babel-loader": "^6.2.5", | "babel-loader": "^6.2.5", | ||
"babel-plugin-module-resolver": "^2.2.0", | |||
"babel-plugin-syntax-jsx": "^6.8.0", | "babel-plugin-syntax-jsx": "^6.8.0", | ||
"babel-plugin-transform-vue-jsx": "^3.1.0", | "babel-plugin-transform-vue-jsx": "^3.1.0", | ||
"babel-preset-es2015": "^6.14.0", | "babel-preset-es2015": "^6.14.0", | ||
... | ... |
src/locale/index.js
0 → 100644
src/locale/lang/en.js
0 → 100644
src/locale/lang/zh-cn.js
0 → 100644
src/mixins/locale.js
0 → 100644
Please register or sign in to comment