Skip to content

@Apply directive has no effect on .scss #303

Open
@billymaulana

Description

Describe the bug
@apply no effect in .scss files but works fine in sfc <style>.
are @apply support in .scss files??

Minimal Reproductions
this is my .scss files:
image

this is vite config for windicss. :
image

result in chrome devs tools:
image

package.json:
image

if im using scoped is fine.
image
image

Versions

  • vite-plugin-windicss:1.8.7
  • vite:^3.0.9
  • framework: nuxt-3.0.0-rc.8

Additonal Context

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions