V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
nuc093
V2EX  ›  Angular

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

  •  
  •   nuc093 · 2015-09-27 15:18:57 +08:00 · 2185 次点击
    这是一个创建于 3105 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    2 条回复    2015-09-27 15:41:32 +08:00
    hahastudio
        1
    hahastudio  
       2015-09-27 15:25:31 +08:00
    ui-router 根目录
    python -m SimpleHTTPServer 8080
    http://localhost:8080/sample/index.html
    nuc093
        2
    nuc093  
    OP
       2015-09-27 15:41:32 +08:00
    @hahastudio 十分感激!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3236 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 11:45 · PVG 19:45 · LAX 04:45 · JFK 07:45
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.