twind
twind copied to clipboard
How to use tailwindcss plugins?
For Nextui, It is a plugin of tailwindcss. How to set up in twind? Thanks for your reply.
// tailwind.config.js
const {nextui} = require("@nextui-org/react");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
// ...
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
darkMode: "class",
plugins: [nextui()],
};
See #32
The current API is not compatible, you could port it by writing a Twind plugin to replace it though.
bouncing over to https://unocss.dev/
@shellscape i never worked on unocss, does it support tailwind classes or is it a whole another library?