前提
公式サイトで基本概念を事前に理解しておく
Angular
・JavaScript
・HTML
・CSS
の基本知識をもっているのは前提
インストールもの
①Node.jsをインストールする必要あり
Node.js
②npmのインストール
node.jsと一緒にインストールされるはず
以下のコマンドで正常かどうか確認
node -v
npm --version
③Angular CLIをインストールする
npm install -g @angular/cli
留意点
windowsの場合、以下の設定変更は必要
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
PS:設定変更の説明
execution policy
動作確認
①DemoAPP作成
ng new my-app
②APPを実行する
cd my-app
ng serve --open
インストールとセットアップが成功すると、次のようなページが表示されます。