Skip to content

Latest commit

 

History

History
51 lines (48 loc) · 811 Bytes

File metadata and controls

51 lines (48 loc) · 811 Bytes

react-cli

node 15+ react-typescript-router-mobx-redux-hook

main 分支为 路由版本
redux 分支为 redux 结构
mobx 分支为 mobx 结构代码 补充中...
rematch 分支为reamatch 结构代码 补充中...
整体在维护中

切换到分支 redux 可以看到完整redux 搭建的代码

step1

把demo 文件改成自己需要的项目名,然后移动。后期会维护一步创建.
step1-1
进入文件夹:
cd react-cli
step1-2
改名
mv tpl candy-react
step1-3
移动到上一级
mv tpl ../
step1-4
退出当前文件夹
cd ..
rm -rf react-cli

step2

node -v
v14.15.3
yarn config get registry
yarn config set registry http://registry.npm.taobao.org/

step3

yarn
yarn start