1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Reactでひな形アプリケーションを作成&起動する

Last updated at Posted at 2019-09-20

参考URL:https://qiita.com/gumiTECH/items/4b82e4e3757f226df6b0

前提: node jsをインストールしておき npmコマンドが使えるようにしておく。

以下のコマンドでreact関連のパッケージをインストールする。

npm install -g create-react-app

その後、任意のフォルダに移動し、以下のコマンドを実行(以下は、[react-sample]というアプリ名の例) ※そこそこ時間かかる。

create-react-app react-sample

以下のコマンドを実行する。

cd react-sample
npm start

http://localhost:3000/
でアプリケーションのページを開くことができる。

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?