This repository is a boilerplate for writing CSS Modules in React components based on Siamak Mokhtari's boilerplate.
First, you should clone the repo and install the dependencies.
$ git clone https://github.com/arashmanteghi/webpack-react-css-modules.git
$ cd webpack-react-css-modules
$ [sudo] npm install
After install dependencies, you can lunch demo.
For development:
$ npm run develop
You should see the demo on a new browser tap in http://127.0.0.1:8090
or http://localhost:8090
.
For distribution:
$ npm run build
Copyright (c) 2016 @arashmanteghi. Licensed under MIT.