egoist / vue-client-only

Vue component to wrap non SSR friendly components (428 bytes)
MIT License
474 stars 37 forks source link

Is there a need to update component for usage with Vue 3? #122

Open fatawesome opened 3 years ago

fatawesome commented 3 years ago

As in Vue 3 arguments are no longer passed to render(), component obviously will not work. We also know, vue-client-only is heavily used in Nuxt, thus I presume is heavily maintained. Are there any plans on updating this particular package to support Vue 3?

mattickx commented 2 years ago

Was wondering the same thing but found out Nuxt 3 is using a simple client-only implementation defined here: https://github.com/nuxt/framework/blob/4e9a27257bdfae65403ea73116d8c5508b642f44/packages/nuxt3/src/app/components/client-only.mjs

Hope that helps you out

duannx commented 2 years ago

I created a small package for those who want to use the client-only component with Vue 3 outside a Nuxt project. Check it here https://github.com/duannx/vue-client-only

cocoonnu commented 1 year ago

I created a small package for those who want to use the client-only component with Vue 3 outside a Nuxt project. Check it here https://github.com/duannx/vue-client-only

thanks!!!!