0
NPM只有版本0.31的angular-ui-router有沒有辦法通過jspm安裝1.xx alpha版本?如何在jspm上安裝angular-ui-router 1.xx
NPM只有版本0.31的angular-ui-router有沒有辦法通過jspm安裝1.xx alpha版本?如何在jspm上安裝angular-ui-router 1.xx
這是做到這一點的一種方法。
> 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.
不是一個很好的解決方案,它不會爲它添加「角度」依賴性。 – RushPL