使用dvajs前端框架、antd界面库的react项目, 主要为了实现国际化进行的技术实践。
演示地址 http://blog.vikazhou.com/demo/dva-favlist/#/favlist
git clone项目之后, 进入项目目录, 按如下进行操作
- npm install (或者yarn) 安装依赖的npm包
- npm run start 运行项目
- npm run buid 生成项目
- i18n-pick https://github.com/ProtoTeam/i18n-pick
- gm-i18n https://github.com/gmfe/gm-i18n
- i18next https://www.i18next.com/overview/introduction
- ant-design/intl-example https://github.com/ant-design/intl-example/blob/master/docs/understanding-antd-i18n.md
- gmfe 多语迁移工具总结 gmfe/Think#46
- react-intl https://github.com/yahoo/react-intl
- react-intl-universal https://github.com/alibaba/react-intl-universal