Replies: 1 comment 2 replies
-
|
solved. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
when run vite + react,use less file,the less content like this:
:global { .App-link { color: #61dafb; border: solid 1px #fff; } }and in react component use className
<a className={'App-link'}>test</a>and run the cmd
npm run dev.the less class do not work, because of the css file in browser has
:globalsymbol.when I use
postcss-modules, it can transform:globalsymbol. but also/node-modules/, how to exclude/node-modules/Beta Was this translation helpful? Give feedback.
All reactions