svelte-webpack-starter

Svelte Webpack Starter

Svelte Starter package with routing and scss

Webpack Starter Template for Svelte Applications

Includes

  • SASS (SCSS)
  • Webpack 4
  • Routing
  • PWA including Service Worker and App Manifest

Getting started

Clone the repository with degit:

npx degit FLEWID-AB/svelte-webpack-starter my-app
cd my-app
yarn install

To start the application locally:

yarn start

Create a production build:

yarn build:production

Routing

Configure your routes in App.svelte, or create a custom routes.js file and include it as a property to the <Router> Component. This package uses page for routing.

App Manifest

Change the values in webpack.config.js to match your own icons and Application name

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes