Overview

Going from development to production can be quite a task. To help overcome those tasks, we've created a starter template that should help you go from prototyping to deployment in 5.3 seconds.

The starter template includes the following features - all are optional.

  • Dynamic Imports
  • SSR (Server Side Rendering)
  • SSG (Static Site Generation)
  • PWA (Progressive Web App)
  • Offline availability
  • Automatic deployments

Starter template structure

.
├─ src/
Source. This is for all your handcrafted code.
│  ├─ serviceworker.svelte    
Registers serviceworker, handles popups etc.
│  ├─ sw.js
Serviceworker config.
│  └─ pages/
Layouts and pages.
├─ assets/
Files that don't change. Images, CSS, etc.
│  └─ __index.html
Entry file. Edit to your needs.
├─ dist/
Distributables. This is where your built files are output.
└─ api/
Vercel and Netlify live here.
These guides are work-in-progress and we stand by on Github and Discord - ready to help. All feedback we receive will help us improve the documentation.

Writing good documentation that is up-to-date is difficult. If you notice a mistake, help us out.