This boilerplate svelte app is customized with a few notable changes:
/static/ folderBuild files are nested in /public/static/ folder instead of /public/ and the links in index.html follows accordingly. This is to allow backends to serve svelte frontend easily in dedicated /static/ folders that are meant for static assets.
svelte-routing Routersvelte-routing package is included as the choice of router for this boilerplate. See link
SPA mode activated by default in this template
"start": "sirv public --single"
This allows sirv to respond to any direct request to the routes and will serving up the correct content upon direct request.