template-sveltekit-package Svelte Themes

Template Sveltekit Package

A GitHub template for SvelteKit packages.

template-sveltekit-package

You probably don't need this template and should just run npx sv create.

This is a SvelteKit package project which I use as a GitHub template:

Keeping dependencies up-to-date

I update dependencies in this template regularly. Run npx sv create to regenerate a SvelteKit packageproject into the existing directory.

Where would you like your project to be created?

Hit enter to use the current directory.

Directory not empty. Continue?

Yes.

Which template would you like?

Svelte library.

Add type checking with TypeScript?

Yes, using TypeScript syntax.

What would you like to add to your project?

  • prettier
  • eslint
  • vitest

Wrap it up

  • Revert README.md.
  • Delete folder node_modules and file pnpm-lock.yaml and run pnpm i.

Debugging

Just launch the application in the JavaScript Debug Terminal.

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes