Open RLJ-Y opened 1 year ago
Describe the bug I tried to use @apply leading-90px !important; on an SCSS file and it gave me this error:
[plugin:vite:css] [sass] expected ";". ╷ 2 │ @apply leading-90px !important; │ ^ ╵ src\assets\styles\public.scss 2:24 @use
in public.scss
.detail-header { @apply leading-90px !important; }
when i delete !important it is work。
!important
leading-90px px is not tranform to rem,but when write it in xxx.vue's templateit is tranform to rem
leading-90px
xxx.vue's template
Minimal Reproductions
Versions
Additonal Context
Describe the bug I tried to use @apply leading-90px !important; on an SCSS file and it gave me this error:
in public.scss
when i delete
!important
it is work。leading-90px
px is not tranform to rem,but when write it inxxx.vue's template
it is tranform to remMinimal Reproductions
Versions
Additonal Context