2016-07-26 53 views

回答

1

這是做到這一點的一種方法。

> jspm install angular-ui-router=npm:angular-ui-router --edge 
    Updating registry cache... 
    Downloading npm:[email protected] 
ok Installed angular-ui-router to npm:[email protected]^1.0.0-beta.1 (1.0.0-beta.1) 
    Install tree has no forks. 

ok Install complete. 
+0

不是一個很好的解決方案,它不會爲它添加「角度」依賴性。 – RushPL