- 这是一个简单的前端框架项目,可直接作为前端项目开发使用,完全实现前后端分离
- 这里有世界上最权威的 angular 文档:https://docs.angularjs.org/guide
- 使用 bootstrap V3 搭建基础前端 UI:http://getbootstrap.com/
- 你还需要了解 ui-bootstrap:http://angular-ui.github.io/bootstrap/
- ui-router For angular 1:https://ui-router.github.io/ng1/docs/latest/index.html
- webpack 2:https://webpack.js.org/
- 首先 Fork 这个项目
- 把代码拉取下来:
[email protected]:lemonl2/app.git
- 添加 EOI 远端:
git remote add upstream [email protected]:lemonl2/app.git
- 安装依赖:
npm install
或者yarn
- 启动项目:make
- 如果你使用 linux,发现自动 watch 不生效,请看这里: https://webpack.github.io/docs/troubleshooting.html#not-enough-watchers