Tauri Svelte Template
- Tauri
- GitHub action for cross-platform builds
- Svelte
- Vite
- TypeScript
svelte-preprocess
with Sass installed by default
- Hot module replacement
- 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-template
and Tauri 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
- Update
CHANGELOG.md
- Bump the version number in
src-tauri/Cargo.toml
- Run
cargo check
to update Cargo.lock
- Create a git tag in the format
v#.#.#
- Add release notes to the generated GitHub release and publish it