Example of using cmify (aka node-css-modules)
npm install
node src/index.js
This will output a bunch of information about the css modules we've used.
npm run build
to builddist/index.js
. Then you can openindex.html
and take a looknpm run hot
to start hot-module-reloading.
to the CSS Modules team
MIT