脚本宝典收集整理的这篇文章主要介绍了vue,angular4,react如何搭建完美的工程项目,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
https://github.com/githbq/hbq-typescript-react-boilerplate.git
支持typescript + react16 + react-router V3
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
获取最新版本即可
win vscode 最新版 x64-1.16.0 百度云盘下载链接 http://pan.baidu.com/s/1bpB5FEf
README.md
文档还没有写好,挨个写清楚typescript
开发相关文档以上是脚本宝典为你收集整理的vue,angular4,react如何搭建完美的工程项目全部内容,希望文章能够帮你解决vue,angular4,react如何搭建完美的工程项目所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。