This is a project template for Svelte Easyroute with SSR.
You need to have Node.js installed.
Install the dependencies
cd svelte-easyroute-ssr-template
npm install
If you want to try SSR right now, execute npm run build
first, and
then npm run start:ssr
.
build
- build both server-side and client-side appdev
- run client-side app in development mode (hot-reload, etc.)start
- run "sirv" for build client-side app (without SSR)start:ssr
- run Express.js server with SSR