Hacker News new | ask | show | jobs
by ciocarlia 2391 days ago
I recently dealt with the same issue and was satisfied with prerender spa plugin (https://github.com/chrisvfritz/prerender-spa-plugin).

It enabled me to quickly implement the landing page with Vue and then build it as a static page that I deployed on Netlify. I found it easier and faster to set up than an SSR solution.

There's also a Vue-CLI version of the prerender plugin (https://www.npmjs.com/package/vue-cli-plugin-prerender-spa)

1 comments

I too recommend prerendering as a general solution to the problem. You already have to implement it such that it works in the browser, so why add complexity with SSR, switching frameworks or worse: adding another framework/language/CMS just for the landing page?