template-sveltekit-example Svelte Themes

Template Sveltekit Example

A GitHub template for SvelteKit examples.

template-sveltekit-example

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

This is a SvelteKit minimal project, which I use as a GitHub template to speed up my workflow when creating screencasts.

Keeping dependencies up-to-date

I update dependencies in this template regularly. Run npx sv create to regenerate a minimal SvelteKit project 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?

Skeleton minimal.

Add type checking with TypeScript?

Yes, using TypeScript syntax.

What would you like to add to your project?

  • prettier
  • eslint

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

Loading Svelte Themes