Building scalable and highly flexible UI with Material-UI + Tailwindcss
This repo is just a brief demo of how to config tailwind to use with material-ui
versions
{
"@material-ui/core": "4.11.0",
"tailwindcss": "1.9.6"
}
-
git clone [email protected]:siriwatknp/mui-tailwind-demo.git
cd mui-tailwind-demo
yarn install & yarn start
yarn start
will compile tailwind.dev.css
to tailwind.css
which is imported in index.js
NODE_ENV=production
in build script is important to make tailwind purge css (see tailwind.config.js
)Rubik
(setup in tailwind.config.js
and App.js
)