Joaquín Sánchez
Joaquín Sánchez
Uhmm, maybe we can do some hack, wait, reviewing some code...
Maybe using this code as base (`onRegisteredSW` hook), you can detect page refresh (initial load) and then call `updateServiceWorker` if initial load and `needRefresh` is activated. The code is Vue,...
Shadow dom styles needs a deep review. The problem here is about styles in the child B component and the vue hmr styles, the css is there but seems vue...
The problem is the shadow dom, styles doesn't work as normal styles since they are scoped, slotted and so on (similar to deep in vue). We also have the :root...
will this break the shadow dom scope? can you show the styles in CompA?
so, the CompB is just rendered, it is not a web component, weird use case, this can break other child components styles since it should use [::slotted](https://developer.mozilla.org/en-US/docs/Web/CSS/::slotted)
@MQYForverT yeah, but them we will need to traverse the full tree per component (checking if the target is a web component, no idea how to check this, maybe `ce.vue`),...
@Simon-He95 maybe we have somthing wrong in the plugin, check https://github.com/unocss/unocss/blob/main/packages/vite/src/modes/shadow-dom.ts#L103-L108 (maybe we need to also check for inlined css and do some transformation)
I need to review the plugins, looks like main resolve config hook being called 4 times per environment at nuxt pwa pr, last change/commit does nothing. I dont want to...
you cannot use query params without raw compiler, why do you need query params if you can just add the width/height in the marckup? `` and ``