This is a seed project for building static react website, not for build universal app.
- ES6+ support via babel
- Redux and its best pratice (debug, style, routing)
- All package latest
- learn Redux
- clone this project
- install dependencies via
npm install
- run a test server by
npm run server
npm run server
run a test servernpm run build
build production app
Anything in src/components
can be required by only components/xx/xx.js
see webpack.config.js
resolve
for more.
I suggest use css-modules to style react component.
Also, I use postcss to enhance css functions. You can write scss-like css, and use some future tips via cssnext.
- create a better demo
- update redux-devtools