This is a SvelteKit skeleton project which I use as a GitHub template to create SvelteKit examples. I added a configuration Gitpod and workspace settings.
You can also launch a SvelteKit project with these shortcuts (maintained by StackBlitz):
- SvelteKit skeleton app: https://node.new/sveltekit.
- SvelteKit demo app: https://sveltekit.new.
I update dependencies in this template now and then. These are the steps:
- Run
npm init svelte .
to regenerate the SvelteKit skeleton project into the existing directory. - Where should we create your project? Leave blank for the current directory.
- Directory not empty. Continue? Yes.
- Which Svelte app template? Skeleton project.
- Add type checking with TypeScript? Yes, using JavaScript with JSDoc comments.
- Use ESLint for code linting? Yes.
- Use Prettier for code formatting? Yes.
- Add Playwright for browser testing? No.
- Delete
node_module
andpackage-lock.json
and runnpm i
.