1.
npm install -g create-react-app
2.
create-react-app 你的项目名
3.
cd 你的项目名
4.
npm run start
基于dva的脚手架
npm install dva-cli -g
1.
npm install -g create-react-app
2.
create-react-app 你的项目名
3.
cd 你的项目名
4.
npm run start
基于dva的脚手架
npm install dva-cli -g