Skip to content

Latest commit

 

History

History
23 lines (22 loc) · 444 Bytes

README.md

File metadata and controls

23 lines (22 loc) · 444 Bytes

说明

  • 这是一个备用的react开发脚手架
  • 采用BrowserHistory的异步加载
  • 支持打包预览
  • 支持开启本地模拟生产环境的服务

命令说明

  • 运行开发环境。
npm start
  • 打包生产代码
npm run build
  • 预览打包模块
npm run analyze
  • 开启本地的生产环境(模拟BrowserHistory)
serve -s dist