3 ms·
I've had great success with Vue's builtin SSR - https://vuejs.org/v2/guide/ssr.html https://vuejs.org/v2/guide/ssr.html Great for FB/twitter share scraping, g
by aeharding 8y ago
I've had great success with Vue's builtin SSR -
https://vuejs.org/v2/guide/ssr.html https://vuejs.org/v2/guide/ssr.html
Great for FB/twitter share scraping, google scraping, etc. Also much better startup speeds.
Once you get it configured it's very little additional work to maintain.
I have it set up to do things like determine mobile/desktop depending on the `user-agent` to determine the prerendered page to serve, and then the client side JS takes over depending on the viewport size and will either a) Rebuild (less than 1% of the time) changing the markup from desktop->mobile of mobile->desktop or b) Continue happily