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

default to tailwindcss@4 #474

Open
prabirshrestha opened this issue Feb 2, 2025 · 2 comments
Open

default to tailwindcss@4 #474

prabirshrestha opened this issue Feb 2, 2025 · 2 comments

Comments

@prabirshrestha
Copy link

Would be great if it would default to tailwindcss v4.

pnpm add tailwindcss@4
pnpm add -D tailwindcss/postcss

then update posts.config.js with the following.

export default {
  plugins: {
    '@tailwindcss/postcss': {},
    autoprefixer: {},
  },
}

update app/base.css with the following:

@import "tailwindcss";

.test {
  background-color: red;
}
@domnantas
Copy link

NativeWind does not yet support Tailwind v4
nativewind/nativewind#1354

@prabirshrestha
Copy link
Author

That would be blocker for mobile apps but I find one so simple to use that I use it to prototype pure web apps. Having an option for tailwind 4 but without native apps would still be a good alternative to have. Specially given that it might take quite some time for tailwind 4 to be supported.

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

2 participants