feat(i18n): init
Showing
... | ... | @@ -34,6 +34,7 @@ |
"release:v3": "npm run lint:cli && lerna publish --no-git-tag-version --force-publish=* --npm-tag=v3" | ||
}, | ||
"dependencies": { | ||
"@dcloudio/uni-i18n": "^0.0.1", | ||
"base64-arraybuffer": "^0.2.0", | ||
"intersection-observer": "^0.7.0", | ||
"pako": "^1.0.11", | ||
... | ... | @@ -43,6 +44,7 @@ |
"devDependencies": { | ||
"@rollup/plugin-alias": "^3.1.0", | ||
"@rollup/plugin-commonjs": "^11.1.0", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^7.1.3", | ||
"@rollup/plugin-replace": "^2.3.1", | ||
"@types/html5plus": "^1.0.0", | ||
... | ... | @@ -118,6 +120,8 @@ |
"__registerPage": true, | ||
"UniViewJSBridge": true, | ||
"UniServiceJSBridge": true, | ||
"__DEV__": true, | ||
"__VIEW__": true, | ||
"__PLATFORM__": true, | ||
"__VERSION__": true, | ||
"__GLOBAL__": true, | ||
... | ... |
src/core/helpers/i18n/en.json
0 → 100644
src/core/helpers/i18n/es.json
0 → 100644
src/core/helpers/i18n/fr.json
0 → 100644
src/core/helpers/i18n/index.js
0 → 100644
src/core/view/mixins/i18n.js
0 → 100644
想要评论请 注册 或 登录