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

Tailwind + Styled Components + SWC (TurboPack) + NextJs (no babel) #801

Open
MrOxMasTer opened this issue May 21, 2023 · 4 comments
Open
Labels
feature request New feature request

Comments

@MrOxMasTer
Copy link

Hello, there was such a problem that I wanted to combine tailwind and styled Components. I think, wow, there's even an instruction, but the problem is that it's for babel.
I use Turbopack, but it does not support babel yet https://turbo.build/pack/docs/features/javascript
, and I use a completely different way to add to extjs from the official website.
https://nextjs.org/docs/app/building-your-application/styling/css-in-js#styled-components
How can I combine Styled Components and tailwind without babel?

@MrOxMasTer
Copy link
Author

@MattCCC
Copy link

MattCCC commented May 29, 2023

It doesn't support SWC (TurboPack) currently. Please refer to: #516 for more information.

@ojolowoblue
Copy link

Hello, there was such a problem that I wanted to combine tailwind and styled Components. I think, wow, there's even an instruction, but the problem is that it's for babel. I use Turbopack, but it does not support babel yet https://turbo.build/pack/docs/features/javascript , and I use a completely different way to add to extjs from the official website. https://nextjs.org/docs/app/building-your-application/styling/css-in-js#styled-components How can I combine Styled Components and tailwind without babel?

Thanks for sharing this, exactly my problem

@DDeme
Copy link

DDeme commented Jul 5, 2023

Hello, there was such a problem that I wanted to combine tailwind and styled Components. I think, wow, there's even an instruction, but the problem is that it's for babel. I use Turbopack, but it does not support babel yet https://turbo.build/pack/docs/features/javascript , and I use a completely different way to add to extjs from the official website. https://nextjs.org/docs/app/building-your-application/styling/css-in-js#styled-components How can I combine Styled Components and tailwind without babel?

I would like to also find a way how to run it. This package is awesome.

@ben-rogerson ben-rogerson added the feature request New feature request label Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request
Projects
None yet
Development

No branches or pull requests

5 participants