create-react-app配置多入口项目开发
1. 使用create-react-app脚手架搭建react项目
新建项目文件夹,install create-react-app
npm install -g create-react-app
进入到项目文件夹中:
create-react-app app
cd app
启动项目:
npm start
2. 将项目webpack配置项分离开
npm run eject
此过程对c...
原创
2018-11-12 18:07:18 ·
2979 阅读 ·
1 评论