astro-template Svelte Themes

Astro Template

Astro template using Svelte and a variety of linters and test suites

astro-template

Astro template using Svelte and a variety of linters and test suites

Features

  • Typescript
  • SCSS, also available in Svelte files
  • Astro-compress to compress the bundle

Linters / Type Checkers

  • Prettier
  • ESLint (with a11y)
  • Stylelint (with idiomatic order)
  • Svelte-check

Testing suites

  • Vitest (with Svelte Testing Library)
  • Playwright

Editors

Default settings for plugins I use are provided for JetBrains IDEs (WebStorm) and VSCode, you might want to change these to your liking. VSCode has Astro syntax support, WebStorm doesn't for the moment.

Bugs

Cannot find module '.svelte' or its corresponding type declarations. when importing Svelte components in .ts files. Affects syntax highlighting only, it seems to be related to the VSCode Svelte plugin.

Top categories

Loading Svelte Themes