LoginSignup
0
1

More than 1 year has passed since last update.

Reactの開発環境を作る

Last updated at Posted at 2020-12-24

React の開発環境

ターミナル上で下記のコマンドを実行することで、create-react-app を準備する

create-react-app とは

React を開発するための環境

準備する環境

macbook
node 8.10 以上
npm 5.6 以上

開発環境を作るディレクトリに移動する

homebrew をインストールする

nodebrew をインストールする

一緒に npm もインストールされる

インストールコマンド

brew install nodebrew

インストールの確認

nodebrew -v

npm インストールの確認

npm -v

reate-react-app のインストール

npx create-react-app [開発環境を作るディレクトリ名]

上記作業により、開発環境は完了

create-react-app の実行

npm のビルド

npm run build

npm の開始

npm start

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