Tauri Svelte Template

  • Tauri
  • GitHub action for cross-platform builds
  • Svelte
  • Vite
  • 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-svelte-template and Tauri Svelte 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