Boilerplate for Tauri and SvelteKit projects in TypeScript
Clone repo:
git clone https://github.com/equilpres/tauri-sveltekit-typescript-boilerplate.git
Go to project dir:
cd tauri-sveltekit-typescript-boilerplate
Install deps:
pnpm install
dev
: Start dev server.
pnpm dev
tauri:dev
: Start Tauri.
pnpm tauri:dev
build
: Build project.
pnpm build
tauri:build
: Build Tauri.
pnpm tauri: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
tauri
: Access Tauri CLI.
pnpm tauri