First of all, the purpose of the article; Why do we need an SSR approach, why and where to use SSR, what are the differences between SSR and CSR? We will consolidate what we know about these with examples.
What is Client Side Rendering (CSR)?
What is Server Side Rendering (SSR)?
There are two main reasons for this; Better SEO and Faster time-to-content.
Performing SSR makes us stronger for SEO. Because Google Spiders (or other bots) can understand straight and meaningful html output.
Also, if we use ssr, our site open faster. Because we make the compilation on the server side so we build a more user-friendly website.
· SSR requires an environment where Node.js server can run.
· Since the compilation process is made by the server side, your costs will increase a little.
· In some cases, you will have to implement workaround solutions.
we came to the real question :)
How to Server Side Rendering (SSR) with Vue.js?
There are many methods for this. In this article I will tell you two of them. Using Nuxt.js and Using Express
#nuxt #seo #server-side-rendering #vue #ssrs