LoginSignup
0
0

More than 1 year has passed since last update.

【Angularアプリケーション開発 #2】とりあえず表示内容を変更してみよう

Last updated at Posted at 2022-05-26

前回は新規Angularプロジェクトの作成とサーバ起動まで行いました。
今回は起動して最初に表示されるページの内容を変更してみましょう。

  • vscodeでAngularのプロジェクトが格納されているディレクトリに移動する。
  • app.component.htmlの中身を全て削除。
    <h1>テストページ</h1>と入力。
    スクリーンショット 2022-05-26 23.55.13.png
  • ng serve のコマンドを実行する。
  • http://localhost:4200/を開く。
    ↓app.component.htmlに書いた内容が反映されていることがわかる。
    スクリーンショット 2022-05-27 0.14.29.png
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