egoist/vue-client-only

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

fatawesome opened this issue · 3 comments

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?

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

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