为了更好的理解 ui-router 需要在本地从头在敲一遍,如何在本地运行?
http://angular-ui.github.io/ui-router/sample/#/
➜ ui-router git:(master) pwd
/Users/qk/github/ui-router
➜ ui-router git:(master) grunt serve
Warning: Task "serve" not found. Use --force to continue.
Aborted due to warnings.
1
fjs312 2015-09-28 07:49:04 +08:00
安装步骤来:
1 npm install 2 grunt build 3 grunt watch 就可以了 |
2
fjs312 2015-09-28 09:33:11 +08:00
https://github.com/angular-ui/ui-router/issues/1815 抱歉怕你不好理解,请看官方文档,(@nateabele)作者自己说没有加入 serve 命令!直接 grunt connect:sample 就行了
|