Tauri SvelteKit Template

  • Tauri
  • SvelteKit
  • GitHub action for cross-platform builds
  • TypeScript
  • Preprocessing with Sass installed by default
  • ESLint
  • Prettier

Dev instructions

Get started

  1. Install Node.js
  2. Install Rust
  3. Follow the Tauri setup guide
  4. Run npm install
  5. Find and replace the text tauri-sveltekit-template and Tauri SvelteKit Template.

Commands

  • npm run dev: Start app in dev mode
  • npm run build: Build
  • npm run lint: Lint
  • npm run format: Format

Release new version

  1. Update CHANGELOG.md
  2. Bump the version number in src-tauri/Cargo.toml
  3. Run cargo check to update Cargo.lock
  4. Create a git tag in the format v#.#.#
  5. Add release notes to the generated GitHub release and publish it

Top categories

Loading Svelte Themes