When I started collecting information about SSR (server-side rendering) with Vue, I had to get pieces from different articles as well as the official documentation to get a complete understanding of the subject.Here are some problems I found in these sources:A lot of assumptions about information that you should have, like Webpack configuration, the proper way to hook up Vue Router etc.Lacking certain important information and leaving some gaps for the reader to fill in.In the examples given, most don't follow the standards and best practices provided by the official documentation.The objective of this article is to provide all the information you may need to get SSR working with Vue Router, making an extra effort to avoid any gaps that may give you a headache later. I also try to respect all the Vue team's recommendations.
Following various tutorials and guides, I was able to get basic SSR Vue working with Webpack, the problem is I can't seem to be able to pass server data/context to the app. I'm using Vue SSR Renderer's bundle renderer. My express /router.js looks like this:
After several months of being just days away, we are over the moon to announce the stable release of Svelte 3. This is a huge release representing hundreds of hours of work by many people in the Svelte community, including invaluable feedback from beta testers who have helped shape the design every step of the way.We think you're going to love it.