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
- Host: GitHub
- URL: https://github.com/epoch/webpack3-react-starter
- Owner: epoch
- Created: 2017-04-27T08:35:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-22T03:51:52.000Z (about 7 years ago)
- Last Synced: 2025-04-01T03:41:30.403Z (9 months ago)
- Topics: es6, github-page, react, webpack
- Language: JavaScript
- Homepage:
- Size: 230 KB
- Stars: 23
- Watchers: 3
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```