LoginSignup
0
0

More than 5 years have passed since last update.

Angular 起動の仕方、コマンドメモ

Last updated at Posted at 2018-10-30

■新しく作成

ng new hellow-world

■移動

cd hello-world

■visual studio起動

code .

■サーバー起動(localhost:4200)

ng serve

■バッククォート(`)で囲う
※シングルクォートで囲うと改行するとエラーになる。

template: ` `

■コマンドメモ

Component   ng g component my-new-component 
Directive  ng g directive my-new-directive 
Pipe  ng g pipe my-new-pipe
Service  ng g service my-new-service
Class  ng g class my-new-class
Interface  ng g interface my-new-interface
Enum  ng g enum my-new-enum
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0