|---- README.md
|---- package.json
|---- node_modules
|---- dev 开发目录
| |---- images 图片
| |---- scripts 脚本库
| |---- skins 样式
| |---- templates ng模板
| |---- views 页面
- "babel-core": "^6.26.0",
- "babel-preset-es2015": "^6.24.1",
- "babel-preset-stage-0": "^6.24.1",
- "clean-webpack-plugin": "^0.1.19",
- "extract-text-webpack-plugin": "^3.0.2",
- "glob": "^7.1.2",
- "html-webpack-plugin": "^2.30.1",
- "less": "^3.0.1",
- "less-loader": "^4.1.0",
- "react-router": "^4.2.0"
- "webpack-dev-server": "^2.9.7"
微Web服务,安装时候版本不可以安装2以上版本,否则会报invalid "instanceof" keyword value Promise
必须按步骤执行
- 开发环境 npm run dev
- 代码发布 npm run build
2018.04.16 搭建