Showcasing how CSS Modules can be used in create-react-app. Read more about it. TLDR: They can be used out of the box, by using the .module.css prefix (e.g. Navigation.module.css) for your CSS files.
- create-react-app 2
- CSS Modules
git clone git@github.com:the-road-to-learn-react/create-react-app-with-css-modules.git
- cd create-react-app-with-css-modules
- npm install
- npm start
- visit
http://localhost:3000