Skip to content
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

[Question] Vue 2 SSR with vite example repo #405

Open
abhipanda opened this issue Aug 28, 2021 · 1 comment
Open

[Question] Vue 2 SSR with vite example repo #405

abhipanda opened this issue Aug 28, 2021 · 1 comment

Comments

@abhipanda
Copy link

Do we have an example using vite vue ssr ? I was looking at the documentation of vite and the example listed is only for vue 3

https://vitejs.dev/guide/ssr.html#example-projects

@jdrydn
Copy link

jdrydn commented Nov 16, 2023

I couldn't find any examples, working or otherwise, so after a decent amount of trial-and-error I've managed to implement SSR with Vite 4.x & Vue 2.7 💪 Here's a functioning example for anyone else who ends up here: https://gist.github.com/jdrydn/076813c15d273e904501e285209f3815

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants