head icon indicating copy to clipboard operation
head copied to clipboard

@vueuse/head not working properly with vite-plugin-ssr

Open ozergul opened this issue 3 years ago • 1 comments

Hello thanks for this plugin. I wanna use this with vite-plugin-ssr and tried something simple. As I see

is not created in server side. <p>Here are the example: I cloned https://github.com/brillout/vite-plugin-ssr/tree/master/examples/vue-router and added @vueuse/head https://github.com/ozergul/vite-ssr-usehead</p> <p>What can be done?</p>

ozergul avatar Apr 14 '21 07:04 ozergul

I had a look at https://github.com/ozergul/vite-ssr-usehead and everything works as expected with the exception that @vueuse/head doesn't collect the head meta data on SSR. AFAICT this is a @vueuse/head prob and not a vite-plugin-ssr one.

brillout avatar Apr 14 '21 07:04 brillout

This issue is quite old so going to close.

If you'd still like help with this please re-open

harlan-zw avatar Sep 19 '22 04:09 harlan-zw