开始学习自己搭建框架:
1、npm install dva-cli -g
2、dva new test(项目名)
3、cd test(项目名)
4、npm start
至此一个最简单的ant-react框架搭建好了
http://localhost:8000能看到如下效果
开始学习自己搭建框架:
1、npm install dva-cli -g
2、dva new test(项目名)
3、cd test(项目名)
4、npm start
至此一个最简单的ant-react框架搭建好了
http://localhost:8000能看到如下效果
转载于:https://www.cnblogs.com/ryt103114/p/6802412.html