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
- Install Node.js
- Install Rust
- Follow the Tauri setup guide
- Run
npm install
- Find and replace the text
tauri-svelte-template
andTauri Svelte Template
.
Commands
npm run dev
: Start app in dev modenpm run build
: Buildnpm run lint
: Lintnpm run format
: Format
Release new version
- Update
CHANGELOG.md
- Bump the version number in
src-tauri/Cargo.toml
- Run
cargo check
to updateCargo.lock
- Create a git tag in the format
v#.#.#
- Add release notes to the generated GitHub release and publish it