heybourn / headwind

An opinionated Tailwind CSS class sorter built for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=heybourn.headwind
MIT License
1.37k stars 46 forks source link

Issue with Headwind Extension in Next.js Project #205

Open eeennsu opened 9 months ago

eeennsu commented 9 months ago

I've been using the Headwind extension successfully! After completing my React studies, I tried to apply Tailwind CSS to a Next.js project, but oh my. I've discovered that Headwind's functionality isn't working in my Next.js project! I even tried it on another computer, and it still didn't apply to the Next.js project files. I'm curious if this issue is just a bug or if Next.js doesn't support it yet!

MarceloViannaDev commented 9 months ago

It works perfectly fine with Next. I've been using it in all my projects. don't forget to run the headwind command to initialize. Every time you close vs code you must rerun the command.

eeennsu commented 9 months ago

Thanks! your comment is helpful for me! And Can you tell me the command please?

MarceloViannaDev commented 9 months ago

Thanks! your comment is helpful for me! And Can you tell me the command please?

Check the extension page inside VS Code. You can find the command there. I've created an auto-run for this command so I don't remember now the keys ...