Skip to content
/ svelte-template Public template

Svelte template with TS, Tailwind, ES-Lint, Prettier and Vite

License

Notifications You must be signed in to change notification settings

billy4479/svelte-template

Repository files navigation

Svelte Template

This is a template repo to bootstrap your Svelte project with some extra juicy stuff in it.

By default you have Typescript, WindiCSS, ES-Lint (with the Airbnb preset), Prettier and Vite.

This is meant to be used with pnpm but you should be able to use also npm or yarn.

Get this template

You can just use the big green button "Use this template" or use degit

pnpx degit billy4479/svelte-template my-svelte-app

Once you have the files cd into the cloned directory and run

pnpm i

# To spin-up a dev server
pnpm run dev

# To build for production
pnpm run build