wxt-dev/unocss : How to set injectReset : true #1659
-
in Unocss docs, it says that unocss provide a neat little package to import browser styles reset, Here. but wxt doesn't gives any place to put this. and this config can not be put inside of the uno.config.ts if you have any. how can i use style reset from unocss then? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You link to the astro docs, but WXT uses vite. You can pass the vite plugin options from here: https://wxt.dev/unocss.html#configuration However, it doesn't look like the vite integration supports the See the normal style reset docs instead: https://unocss.dev/guide/style-reset |
Beta Was this translation helpful? Give feedback.
You link to the astro docs, but WXT uses vite.
You can pass the vite plugin options from here: https://wxt.dev/unocss.html#configuration
However, it doesn't look like the vite integration supports the
injectReset
option like astro.See the normal style reset docs instead: https://unocss.dev/guide/style-reset