/css-modules-test

CSS Modules with React and Webpack

Primary LanguageJavaScriptMIT LicenseMIT

css-modules-test

A simple demonstration of CSS Modules, using React and Webpack

Getting Started

Run the following to get started:

$ npm install
$ npm start

Inspect the page source and you'll see that all CSS classes from local components have been uniquely hashed to work on the global scope - without cascading or collision issues.

Huzzah, Local CSS!