question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Apply directive has no effect on Windows

See original GitHub issue

I’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:

Xnip2021-02-20_12-17-38

Is there further configuration needed, such as which CSS should be compiled, or some place I need to locate directives?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:23 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
antfucommented, Feb 23, 2021

@bux Is this expected? image

0reactions
antfucommented, May 15, 2021

That’s great!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found