React: how to load a components css file? #1810
marcellino-ornelas
started this conversation in
General
Replies: 0 comments
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.
-
Description
How do we load a css file into a component? Its very common to have a single css file for a specific component and load it only in that component.
then import it:
nav.ts
I did read this page and it seems like maybe this is only supported when in the content script entrypoint?
https://wxt.dev/guide/essentials/content-scripts.html
Have anyone ever tried a different css processing to handle this or any other libraries?
Beta Was this translation helpful? Give feedback.
All reactions