-
Notifications
You must be signed in to change notification settings - Fork 16
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
Extract classes into @apply directive in the corresponding place #56
Comments
extraction of all classes into external file already exists as commands. maybe you can hook into it |
can you elaborate how this can be done? at least in the plugin documentation i did not see such a command :) |
@eikaramba it is still a feature yet to be implemented, not had time to tackle this |
ahh okay, no problem. i will try at the weekend whether i understand the code and help out, as i would like to have this ;) |
the existing commands for extracting style, just put them into an css file windicss-intellisense/src/lib/commands.ts Lines 18 to 53 in c382ae0
|
Hi folks !
I'm thinking about a great feature that miss with Tailwind : select a class (the text cursor in the class attribute) and do a command that will take all classes and extract it into the best place.
With Vue or Svelte, inside the style block. Otherwise, in another file.
The classe name have to be written by the user in sync with the classe attributes value.
And so, classes are extracted as well !
If I have time, I will try to code something. But I'll need help !!
The text was updated successfully, but these errors were encountered: