LoginSignup
3

More than 5 years have passed since last update.

Cloud 9(AWS)でReact環境

Posted at

最近、Awsの勉強をはじめました。
今回はCloud 9上でreact環境を整えたいと思います。

cloud 9上でEC2をたてことを前提にすすめます。

#まずはnpm init
npm init

#reactインストール
npm install react --save

#react便利ツールのインストール
npm install -g create-react-app

# nvm(最初から入っている)を使ってバージョンアップ(デフォルトで6系が用意されている)
nvm install v8

#アプリケーションの作成
create-react-app app

#起動
cd app
npm start

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
3