Skip to content

Boilerplate template project for spaceavocado/svelte-router - Simple Svelte Router for Single Page Applications (SPA).

License

Notifications You must be signed in to change notification settings

spaceavocado/svelte-router-template

Repository files navigation

Svelte Router Template

Boilerplate template project for spaceavocado/svelte-router - Simple Svelte Router for Single Page Applications (SPA).

Live Preview

https://spaceavocado.github.io/svelte-router-template/

Setup

  1. Clone this repository or create your repository from this template.
  2. Install packages: npm install or yarn install

Essential Information

Local Development Server

To run the development server that provides live reloading, run: npm run start or yarn start

Production Build

npm run build:prod or yarn build:prod

Note: If hosted in a sub-folder, e.g. domain.com/project/, please update the baseURL in:

  • webpack.config.js
  • package.json

The productions files are located in /publish folder:

  • index.html
  • dist
  • assets

License

Svelte Router is released under the MIT license. See LICENSE.txt.

About

Boilerplate template project for spaceavocado/svelte-router - Simple Svelte Router for Single Page Applications (SPA).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published