Skip to content
This repository has been archived by the owner on Jan 6, 2019. It is now read-only.

Latest commit

 

History

History
67 lines (43 loc) · 1.79 KB

README.md

File metadata and controls

67 lines (43 loc) · 1.79 KB

styled with prettier

redux-react-starter

This repository contains the minimal app to get started with redux, react, hot-reloading, async function and some other great stuffs.

How to

yarn 0.18+ must be present on your machine.

Start

Run webpack-dev-server, get ready to code with hot reloading

yarn start

Share

Share your localhost running app to anyone with an internet connection

yarn ngrok

Build

Bundle your app. It will create index.html, main.[hash].js, vendor.[hash].js and manifest.[hash].js

yarn build

Run your build

yarn prod

Deploy

surge ./dist -d subdomain.surge.sh
mv dist docs
git push upstream master

Then go to your repository, Settings -> Options -> Github Pages and select /docs folder

What's inside ?

👉 package.json

Tools

If you have not already done so, move to Chrome and install react-developer-tools & redux-devtools

Create-React-App

If you don't care about the process or you don't want to play with your config try create-react-app