ルク
1 min readFeb 13, 2017

--

create-react-appでReact-Redux-Sagaの開発環境構築メモ

$ npm install -g create-react-app
  • プロジェクト作成
$ create-react-app my-react-app
  • デフォルトプロジェクト実行
$ cd my-react-app
$ npm start

※製品版としてbuildする場合は

$ npm run build
$ npm install --save redux react-redux
  • ディレクトリ作成
$ cd src
$ mkdir actions components containers reducers
$ npm install --save redux-logger
$ npm install --save redux-saga
  • Ajaxライブラリaxiosインストール
$ npm install --save axios

--

--

ルク

ゲーム好きなWebエンジニアです。フロントエンドが好きです。