UnoCSS HMR with HTML-only mode #927
Unanswered
brillout
asked this question in
Help & Questions
Replies: 2 comments
-
I don't think you should need to write any specific integration to support UnoCSS. See my new discussion #412. |
Beta Was this translation helpful? Give feedback.
0 replies
-
UnoCSS is rightfully loaded in the browser, that's not the problem. Your proposal wouldn't be helpful for this specific ticket. The problem and the fix is about how UnoCSS is injected into the HTML. I expect the fix to be fairly easy, actually. But because HTML Templating is low priority, I'm de-prioritizing this. I'm open to re-evaluating the prioritization though, e.g. if it's a blocker for a project of yours. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
UnoCSS's HMR doesn't work when using vite-plugin-ssr with HTML-only mode.
Note that UnoCSS (including HMR) does work when using vite-plugin-ssr with SPA and SSR mode.
The problem is fixable (see unocss/unocss#1351 (comment)). It's just low priority because HTML-only is more of an experiment than being used in production.
Beta Was this translation helpful? Give feedback.
All reactions