根据vue脚手架项目改装
react脚手架 项目。
- 支持开发环境热更新
- 支持
eslint
实时检测(js|jsx)
- 支持
React
浏览器插件 - 支持移动端相关问题适配(300ms延迟、屏幕大小、兼容等问题)
- 支持
PostCSS
、CSS-Module
,生产环境针对CSS
类名做极限压缩处理
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report