nuc093
V2EX  ›  Angular

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

  •  
  •   nuc093 · Sep 27, 2015 · 2908 views
    This topic created in 3890 days ago, the information mentioned may be changed or developed.

    为了更好的理解 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 replies    2015-09-27 15:41:32 +08:00
    hahastudio
        1
    hahastudio  
       Sep 27, 2015
    ui-router 根目录
    python -m SimpleHTTPServer 8080
    http://localhost:8080/sample/index.html
    nuc093
        2
    nuc093  
    OP
       Sep 27, 2015
    @hahastudio 十分感激!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2965 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 05:35 · PVG 13:35 · LAX 22:35 · JFK 01:35
    ♥ Do have faith in what you're doing.