react脚手架create-react-app
2017-11-28 11:12
696 查看
首先得安装脚手架工具
然后新建一个项目
npm start 开启调试环境
localhost:3000 查看调试页面
npm install create-react-app -g
然后新建一个项目
create-react-app demo
npm start 开启调试环境
localhost:3000 查看调试页面
npm run eject弹出配置文件,可以自定义位置webpck
相关文章推荐
- webstorm用create-react-app脚手架快速构建React开发环境
- 开发 react 应用最好用的脚手架 create-react-app
- create-react-app 脚手架不支持less解决方案
- create-react-app脚手架中配置sass
- 官方 React 快速上手脚手架 create-react-app
- create-react-app脚手架使用
- create-react-app 脚手架打包hash值改为时间字符串格式
- 官方 React 快速上手脚手架 create-react-app
- React 快速上手脚手架 create-react-app
- 开发 react 应用最好用的脚手架 create-react-app
- create-react-app脚手架中配置webpack的方法
- 使用Create-React-App脚手架创建antd-mobile开发环境 (附 github 源码)
- 转载001---create-react-app 脚手架不支持less解决方案
- create-react-app 脚手架环境搭建
- 详解开发react应用最好用的脚手架 create-react-app
- 使用create-react-app时的something is already running on port 3000
- create-react-app命令的执行问题
- react---学习笔记:使用create-react-app快速构建开发环境并创建项目
- 使用 create-react-app 构建 react应用程序 (react-scripts)
- create-react-app慢的解决方法(推荐阅读)