feat: support i18n

Signed-off-by: RobotHuang <1183598761@qq.com>
This commit is contained in:
RobotHuang
2021-02-19 23:23:59 +08:00
parent a09a8b2af0
commit e301121c21
18 changed files with 373 additions and 102 deletions

View File

@ -8,16 +8,18 @@
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"antd": "^4.7.2",
"i18next": "^19.8.9",
"moment": "^2.29.1",
"react": "^16.14.0",
"react-device-detect": "^1.14.0",
"react-dom": "^16.14.0",
"react-github-corner": "^2.5.0",
"react-i18next": "^11.8.7",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.3"
},
"scripts": {
"start": "set PORT=7001 && react-scripts start",
"start": "PORT=7001 && export PORT=7001 && react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"