Skip to content

maiertech/template-sveltekit-example

Repository files navigation

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

Before updating the dependencies in this template, delete eslint.config.js because it will not be regenerated if it exists already. Then 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?

SvelteKit minimal.

Add type checking with TypeScript?

Yes, using TypeScript syntax.

What would you like to add to your project?

  • prettier
  • eslint

Which package manager do you want to install dependencies with?

pnpm

Wrap it up

  • Revert README.md.
  • Revert .vscode/settings.json.
  • Delete folder node_modules and file pnpm-lock.yaml and run pnpm i.
  • Run pnpm dev to test if the app still launches.

Debugging

Just launch the application in the JavaScript Debug Terminal.

About

A GitHub template for SvelteKit examples.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published