-
Notifications
You must be signed in to change notification settings - Fork 4.7k
SSR support #533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The documentation needs updating but there is already support for SSR in Vue 3. See https://github.com/vuejs/vue-next/tree/master/packages/server-renderer |
@skirtles-code Hey, I think He is talking about that "The documentation needs updating" I don't know if there is something about that in the roadmap. |
I wrote up a Vue 3 version of the Vue 2 hackernews clone. It seems to be working quit nicely. Maybe it can serve as a reference for others looking for how to migrate existing vue ssr apps. |
@raukaute for some reason the styles are not working in the SSR, They are injected but on the client-side |
Thank you for your reply. Can you give a little more detail? I am not 100% sure I know what you mean. Cheers |
@raukaute sure, the problem is that in SSR the styles can't be rendered using the link tag for example <link ref="example.css" ... />. it should be rendered in inline CSS using the style tag, this is because we need more information about this. because maybe vue has a webpack plugin or loader for that to avoid doing this manually |
Hey!
Kind of hard to to find any information on that, so I was wondering if there is any roadmap/schedule for Vue 3 SSR support. The current server-renderer only supports version 2. . I peeked into it, to see if I can somehow tweek it to make it work with Vue 3, but it raises too many issues. I'm using the composition API already, but would really love to migrate one of my SSR apps to Vue 3.
Thanks for clarification!
The text was updated successfully, but these errors were encountered: