webpack3-react-starter
webpack3-react-starter copied to clipboard
Sensible starter to try react with webpack
webpack react hot reload starter
All you need, none you don't.
Sensible starter with hot reload to try react with webpack 3 that deploys straight to github pages.
Based on
- Bundler: Webpack, Babel
- Language: ES2015 ES2016/es7 class properties & object spread
- Library: React, Sass, Mocha
Usage
- clone this repo
git clone THIS_GIT_REPO_URL
- install dependencies using npm or yarn
npm install
or
yarn install
- start dev server and start coding in
/app
npm start
build and deploy with github pages
Github pages support hosting your site in a docs directory within your repo. Simply run the following command to build your site into docs directory and update the source setting on github.
npm run build
run tests in /test
npm test