2016-08-10 4 views

答えて

4

私は私の質問内の溶液に非常に近いものであった:

npm i @angular/common @angular/compiler @angular/core @angu lar/forms @angular/http @angular/platform-browser @angular/platform-browser-dynamic @angular/router @angular/router -deprecated -S

は、私のような何かを行うことができます。私は以下のように中括弧の中から余分な空白文字を削除することによってこれを行うことができます。

npm i @angular/{common,compiler,core,forms,platform-browser,platform-browser-dynamic,router,router-deprecated} -S

+1

記録のために、中括弧の構文は、シェルの機能であり、これだけのMacとLinux環境で動作します。 AkaはWindowsのPowershellでは動作しません。 –

関連する問題