Apply directive has no effect on Windows
See original GitHub issueI’m trying out Vite + Windi CSS and it seems to work other than my @apply directive not having any effect.
Here’s the file with my directive in the <style> block. Rendered output is like this:

Is there further configuration needed, such as which CSS should be compiled, or some place I need to locate directives?
Issue Analytics
- State:
- Created 3 years ago
- Comments:23 (11 by maintainers)
Top Results From Across the Web
using directive - C# Reference - Microsoft Learn
You can apply two modifiers to a using directive: The global modifier has the same effect as adding the same using directive to...
Read more >INF AddService directive - Windows drivers - Microsoft Learn
This directive is not used in INF files that install devices that do not require any drivers, such as modems or display monitors....
Read more >C# preprocessor directives - Microsoft Learn
This directive controls whether nullable annotations have effect, and whether nullability warnings are given. Each context is either ...
Read more >Runtime Directives (rd.xml) Configuration File Reference
A runtime directives (.rd.xml) file is an XML configuration file that specifies ... Applying the Activation policy to a field has no effect....
Read more >INF AddReg directive - Windows drivers - Microsoft Learn
An INF can also contain one or more optional add-registry-section.security sections, each specifying a security descriptor that is applied to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@bux Is this expected?
That’s great!