Boilerplate for SvelteKit projects in TypeScript, optimized for SSG
Clone repo:
git clone https://github.com/equilpres/sveltekit-typescript-static-boilerplate.git
Go to project dir:
cd sveltekit-typescript-static-boilerplate
Install deps:
pnpm install
dev
: Start dev server.
pnpm dev
build
: Build project.
pnpm build
preview
: Preview prod build.
pnpm preview
sync
: Sync files with SvelteKit.
pnpm sync
svelte-check
: Check Svelte files.
pnpm svelte-check
lint
: Lint code.
pnpm lint
fmt
: Format code.
pnpm fmt
bump
: Update deps.
pnpm bump