template-sveltekit Svelte Themes

Template Sveltekit

SvelteKit+TailwindCSS+Cloudflare Starter Template

SvelteKit-Tailwindcss-Cloudflare Starter Template

Use this template

Click Use this tempalte on your Github UI to use this template. Or, in your terminal, run:

npx degit github:vnphanquang/template-sveltekit my-new-project
# or, with pnpm:
pnpm dlx degit github:vnphanquang/template-sveltekit my-new-project

[!TIP] Search for TODO: and add customization for your site as needed

Prerequisites

Dependency Installation Description
[node] recommended via [volta] JS runtime
[pnpm] [follow guide on website][pnpm.install] alternative to npm and yarn
[lefthook] [follow guide at repo][lefthook] git hooks manager

See package.json for engine specification. At project root, run:

pnpm boot

Development

Simply run pnpm dev on project root. See package.json for available scripts.

If you use VSCode, search for @recommended in the "Extension" panel for quick installation (look for "Workspace Recommendations"). To extend the @recommended list, add the extension ID to the extensions array in .vscode/extensions.json.

Code Style Enforcement

The project uses eslint and prettier for code linting and formatting. Make sure to install necessary plugins or integrations in your code editor.

lefthook is setup to run format and lint checks as a pre-commit git hook.

To bypass hook (not recommended, for admin only), run git commit with the --no-verify flag.

Top categories

Loading Svelte Themes