antfu / vite-ssg

Static site generation for Vue 3 on Vite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Provide option to intercept a listed component and make it client-only

josh-hemphill opened this issue · comments

commented

I'm using a component library (Vuetify) and it internally some of it's components nest a lot of other internal components inside them. It would be a huge problem to try and and use client-only around every single component that uses a window method deep internally. If I could just set that one internal component to be wrapped to be client-only, then I don't even have to worry about which publicly exposed components use that one internally.