Boilerplate of React with Webpack.
This boilerplate provides an automatic web development environment with
Webpack2
to develop React(>=16)
and PostCSS
.
- transpile for CSS (PostCSS -> CSS)
- attache CSS (normalize.css & autoprefixer)
- lint for CSS (stylelint)
- transpile for JS (React -> ES5)
- lint for JS (ESLint & Flow)
- package (minify CSS & JS)
- Installed
Chrome
browser. - Installed
yarn
ornpm
.
- Clone this repository via
git
. - Install modules via
yarn install
ornpm install
. - Install Flow types via
yarn run flow-typed
ornpm run flow-typed
. - Execute
yarn start
ornpm start
and Seehttp://localhost:8080/
on your Chrome. - Enjoy developing your web site.