0.0.1 • Published 7 years ago

hello-intl v0.0.1

Weekly downloads
3
License
-
Repository
-
Last release
7 years ago

hello-intl

提取需要转换项目中的文本 (暂时还不能用,哈哈)

install

npm install --save hello-intl

初始化目录结构

npm run init

读取文件 写入 (app|src)/locale/zh.js

npm run read

自定义 zh.js 中的key

替换文件

npm run replace

Warning

每一次执行 run read 命令都会重写 zh.js 文件,请谨慎使用!