Skip to content
This repository has been archived by the owner. It is now read-only.

tonyrewin/svelte3-ts-boilerplate

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Svelte3-Typescript Boilerplate

TS analytics works in VSCode! Based on:

Description

Starter pack for Svelte 3/Rollup/Typescript/Visual Studio Code:

  • Typescript support inside Svelte components with @pyonr/svelte-ts-preprocess
  • Also it adds some support for Visual Studio Code and svelte-vscode extension (via svelte.config.js)
  • Jest to test .ts/.svelte
  • Supports index.html entry file, dev server to serve it and livereload
  • ESLint, Prettier
  • See all in rollup.config.js

How to start

Please, notice the importance of svelte.config.js in the root directory for VSCode to use your project's preprocessors. Jest, Prettier, ESLint, PostCSS are optional but useful. So clone and

npm i
npm run dev

Linting

npm run lint
npm run format

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published