How to Pass data from node js to vue 3 when using ssr

I'm building a website using vue.js 3 and I want to use server-side rendering. I want to also be able to pass data from my fastify (or express) server to vue.js 3. Is there any way I can do this (I have seen something called express-vue: github link but it is for vue 2 and isn't official so I don't know if it is good or not)? And also can you include client side hydration because I have seen examples like but it doesn't include client-side hydration and If this is not possible I will just use ejs but I would prefer vue 3. Could you please give me an example or template I cloud use? Thank you in advance!

Read more here:

Content Attribution

This content was originally published by Alien10 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: