This repo is a bare-bones example showing how to use css-to-mui-loader.
- Clone the repo
npm start
This package was bootstrapped with an ejected create-react-app. Material UI was added as a dependency and the css-to-mui-loader was added to the webpack config:
webpack.config.dev.js
{
test: cssRegex,
exclude: cssModuleRegex,
use: ["css-to-mui-loader"]
},