An open API service indexing awesome lists of open source software.

https://github.com/epoch/webpack3-react-starter

Sensible starter to try react with webpack
https://github.com/epoch/webpack3-react-starter

es6 github-page react webpack

Last synced: 8 months ago
JSON representation

Sensible starter to try react with webpack

Awesome Lists containing this project

README

          

# 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

1. Bundler: [Webpack](http://webpack.github.io/docs/), [Babel](https://babeljs.io)
2. Language: [ES2015](https://babeljs.io/docs/learn-es2015/) ES2016/es7 class properties & object spread
3. Library: [React](https://reactjs.org/), [Sass](http://sass-lang.com/), [Mocha](https://mochajs.org)

## Usage

1. clone this repo
```
git clone THIS_GIT_REPO_URL
```

2. install dependencies using npm or yarn
```
npm install
```
or
```
yarn install
```

3. 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
```