do stuff like
bg.red.200
instead ofbg-red-200
Install the plugin from npm:
npm install -D tailwind-dot
Then add the plugin to your tailwind.config.js
file:
module.exports = {
theme: {
// ...
},
plugins: [
require("tailwind-dot"),
// ...
],
};