steamer-react

react 高效快速启动脚手架

NPM Version Deps

快速启动

  1. // 安装 steamerjs,已经内置 steamer-plugin-kit
  2. npm i -g steamerjs
  3. // 下载脚手架到全局
  4. steamer kit --add https://github.com/steamerjs/steamer-react.git
  5. // 基于脚手架初始化项目
  6. steamer kit
  • 直接从github clone 下来

常用命令

  1. // 安装依赖
  2. npm i
  3. // 开发
  4. npm start
  5. // 打开链接
  6. localhost:9000
  7. // 代码规范扫描
  8. npm lint
  9. // 生产代码生成
  10. npm run dist

脚手架文档

参见文档-项目脚手架

文章参考