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
开发相关文档