https://github.com/githbq/hbq-typescript-react-boilerplate.git
支持typescript + react16 + react-router V3css
https://github.com/githbq/hbq-typescript-vue-boilerplate.git前端
src/apps/
目錄下會建立 .ts
或者 react 下 .tsx
會自動生成 .html
文件src/apps
下建立與 tsx? 同名的 [name].html
, [name].pug
dev-config/index.template.pug
做爲 htmlWebpackPlugin
模板ejs
與 pug
做爲 htmlWebpackPlugin
模板stylus
與 less
編寫樣式dev-config
目錄下,配置文件徹底解耦├── dev-config | ├── configs | | ├── alias.js | | ├── constants.js | | ├── devServer.js | | ├── entry.js | | ├── globalConfig.js | | ├── plugins.html.js | | ├── plugins.js | | ├── proxy.js | | ├── rules.css.js | | ├── rules.js | | └── utils.js | ├── index.template.html | ├── index.template.pug | ├── lite-server-config.js | ├── readme.md | ├── templateCompilers | | └── pug.js | └── webpack.config.js
hmr(hot module replace)
代碼修改熱更新支持git clone
對應的git倉庫地址iclone-cli
腳手架npm i -g iclone-cli // then iclone init -t [模板名稱] -n [工程名稱]
nodejs v8.4
win nodejs v8.4 百度雲盤下載連接 http://pan.baidu.com/s/1bpD78YF
mac 系統直接使用n latest
獲取最新版本便可node
win vscode 最新版 x64-1.16.0 百度雲盤下載連接 http://pan.baidu.com/s/1bpB5FEfreact
README.md
文檔尚未寫好,挨個寫清楚typescript
開發相關文檔