...
/Server-Side Rendered Web Application VS Static Site Generators
Server-Side Rendered Web Application VS Static Site Generators
Get a brief introduction to Sapper's two ways of deploying and operating web applications.
We'll cover the following...
We'll cover the following...
Sapper provides two ways to deploy and operate our web application:
- Deploy a Sapper server and use server-side rendering (SSR).
- Use Sapper as a static site generator (SSG).
Server-side rendering (SSR)
In this scenario, we will first build the web application with sapper build
. This generates JavaScript bundles at __sapper__/build
, one per route defined in
...