ui-router-sample 如何在本地运行?

2015-09-27 15:18:57 +08:00
 nuc093

为了更好的理解 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.

2200 次点击
所在节点    Angular
2 条回复
hahastudio
2015-09-27 15:25:31 +08:00
ui-router 根目录
python -m SimpleHTTPServer 8080
http://localhost:8080/sample/index.html
nuc093
2015-09-27 15:41:32 +08:00
@hahastudio 十分感激!

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/224030

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX