https://github.com/timwis/react-boilerplate
Fork of timwis/es6-boilerplate for react apps. Just ES6/JSX/Webpack.
https://github.com/timwis/react-boilerplate
Last synced: about 2 months ago
JSON representation
Fork of timwis/es6-boilerplate for react apps. Just ES6/JSX/Webpack.
- Host: GitHub
- URL: https://github.com/timwis/react-boilerplate
- Owner: timwis
- Created: 2016-04-13T00:25:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-13T00:28:40.000Z (about 9 years ago)
- Last Synced: 2025-01-25T07:11:22.462Z (3 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react boilerplate
Fork of [es6-boilerplate](https://github.com/timwis/es6-boilerplate)
Front-end React project boilerplate with es6 build tools. Includes babel, react, webpack, and npm scripts.## Usage
Use [index.jsx](src/index.jsx) as your entry point. From there you can write ES6 JavaScript with JSX
and import other modules using `import Foo from './foo'` etc. It will be compiled to a
single ES5 file at `dist/bundle.js` using the commands below, which is then run by
[index.html](index.html).## Development
Clone this repository and use `npm install` to install dependencies.Use `npm start` to run a live reload server at `localhost:8080/webpack-dev-server`
and watch for/recompile on changes.Use `npm run watch` to _only_ watch for/recompile on changes (use your own web server)
Use `npm run build` to compile a minified, production-ready build