安利一波自己配置的 React 腳手架
https://github.com/starriv/react-scaffold
React ScaffoldThis project contains the react infrastructure
Feature- ES6+ support, use babel
- with development and the product model
- development patterns support heat load
- convenient extension, at the same time joined the less, postcss, redux loader, etc
- git clone https://git.coding.net/starriv/react-scaffold.git
- npm install
default use development model
- dev: npm run dev && open your brower to http://127.0.0.1:3002
- prod: npm run build
包含基础的React 项目结构
特点- ES6+的支持,使用Babel转换
- 开发模式 和 产品模式
- 开发模式热加载支持
- 方便扩展, 同时加入了less, postcss, redux 等loader
- git clone https://git.coding.net/starriv/react-scaffold.git
- npm install
默认为开发模式
- dev npm run dev && 打开浏览器 http://127.0.0.1:3002
- prod npm run build
點擊查看更多內容
5人點贊
評論
評論
共同學習,寫下你的評論
評論加載中...
作者其他優質文章
正在加載中
感謝您的支持,我會繼續努力的~
掃碼打賞,你說多少就多少
贊賞金額會直接到老師賬戶
支付方式
打開微信掃一掃,即可進行掃碼打賞哦