This is a demo to build ssr in a very simple mode powered with svelte, which is appropriately used for learning, not for production. Obviously, Sapper is the best choice for production. Please read the sapper documention first.
In Official Documention of Svelte, there are few paragraph to introduce SSR SSR. This repo is going to tell you how to set up a simple svelte ssr step by step.
To create a new project based on this template using degit:
npx degit brandonxiang/svelte-ssr svelte-ssr
cd svelte-ssr
yarn
# or
npm i
yarn dev
# or
npm run dev
MIT @brandonxiang