react-isomorphic-boilerplate
This boilerplate would help you build a react/redux/react-router isomorphic/universal web app
Concept
development
Start 3 process to start developing your app:
npm run build:client:dev:w
: build client side code and watch it's changenpm run build:server:dev:w
: build server side conde and watch it's changenpm start
: nodemon executing dist/server.js, only watches on it's change
Packing code
- Fonts: font face are set in
src/client/global.scss
- Images: set src relative to your js or scss file,
extract-text-webpack-plugin would extract them (font, image) into static assets and handle url transform.
Style
Production build
npm run build:client:prod
npm run build:server:prod
TODOS:
hash keyproduction buildstyle loaderfont / img loader- test on server
- test on react component
- apply react router
- apply logic base on path(seo optimized)
LICENSE
MIT