https://github.com/yukihirai0505/react-example
react-example for github pages
https://github.com/yukihirai0505/react-example
babeljs github-page react webpack
Last synced: 4 months ago
JSON representation
react-example for github pages
- Host: GitHub
- URL: https://github.com/yukihirai0505/react-example
- Owner: yukihirai0505
- Created: 2017-03-28T02:24:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-29T02:05:12.000Z (over 9 years ago)
- Last Synced: 2025-01-14T14:58:18.228Z (over 1 year ago)
- Topics: babeljs, github-page, react, webpack
- Language: JavaScript
- Homepage: https://yukihirai0505.github.io/react-example/
- Size: 4.51 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-example
This React example app that demonstrates using [React] with [webpack], and [babeljs], as well as project structure.
qt: https://github.com/mzabriskie/react-example
And this project is especially for github pages user,
because github pages can't build http server for react router.
Requirements:
- git
- Node v6
- npm v3
## To run the app locally
```bash
git clone https://github.com/yukihirai0505/react-example.git
cd react-example
npm run setup
npm run dev
open http://localhost:8080
```
## To Deoloy github pages
```bash
npm run deploy
```
[React]: http://facebook.github.io/react/
[webpack]: http://webpack.github.io/
[babeljs]: https://babeljs.io/