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