LoginSignup
0
0

More than 1 year has passed since last update.

ReactでHello worldを表示してみる

Posted at

①コマンドプロンプトでcreate-react-app helloworld を実行し、プロジェクトを作成する。
→プロジェクト名は全て小文字でないとエラーが出ます。
image.png

②先ほど作成したhelloworldというプロジェクトに移動する。
image.png

③src配下のApp.jsを以下のように書き換え保存する。
image.png

④コマンドプロンプトでhelloworldというプロジェクトに移動する。
image.png

⑤yarn start を実行し、プロジェクトを開始する。
image.png

⑥ブラウザにHello Worldが表示されているか確認する。
image.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