svelte-template Svelte Themes

Svelte Template

Custom Svelte template with additional features like Babel, Autoprefixer and SASS support.

Custom Svelte Template

This custom Svelte template is based on the official one from Svelte. It is customized to build scalable websites and web apps.

Features

  • SCSS/SASS support
  • Transpiling with Babel
  • Prefixing with Autoprefixer
  • The src/ folder is the root when using absolute paths
  • Base font size is set to 62.5% so that 1rem equals 10px
  • Hidden attribute enforces display: none;
  • Box sizing border-box is set on all elements
  • Metropolis by Chris Simpson as base font

Usage

Install dependencies with npm i or yarn and start the dev server with npm run dev or yarn dev. To create a production build run npm run build or yarn build.

Top categories

Loading Svelte Themes