React Boilerplate
A fork of tj/frontend-boilerplate, but more complete and advanced.
Contains
- [x] Webpack
- [x] React
- [x] Redux
- [x] Babel
- [x] Autoprefixer
- [x] PostCSS
- [x] CSS modules
- [x] Rucksack
- [x] React Router
- [ ] Redux effects
- [x] TodoMVC example
- [x] Errors on the screen
- [x] Custom index template
- [x] Automatically open browser for you
- [ ] BrowserSync
- [ ] ESlint
Setup
$ npm install
Coding
# hot reloading
# specific PORT env to use custom port, default 7888
# eg: PORT=3000 npm run dev
$ npm run dev
Build
# minify and optimize
$ npm run build
Note
This is just my personal boilerplate, it may or may not be a good fit for your project(s).
License
MIT © EGOIST