Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use tailwindcss plugins? #490

Open
lalawila opened this issue Oct 8, 2023 · 3 comments
Open

How to use tailwindcss plugins? #490

lalawila opened this issue Oct 8, 2023 · 3 comments

Comments

@lalawila
Copy link

lalawila commented Oct 8, 2023

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()],
};
@rschristian
Copy link
Member

See #32

The current API is not compatible, you could port it by writing a Twind plugin to replace it though.

@shellscape
Copy link

bouncing over to https://unocss.dev/

@GorvGoyl
Copy link

@shellscape i never worked on unocss, does it support tailwind classes or is it a whole another library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants