Simple and opinionated project template for Tauri and Vue 3.
- Vue 3
- Vite
- Hot Module Replacement
- AutoImport plugin
- TypeScript
- Eslint, Prettier
- Tailwind CSS w/ PostCSS
- Vitest for unit tests
- Github Actions
- Install Tauri Prerequisites
- Clone and install dependencies (the project is configured for
pnpm
):
pnpm i
pnpm dev
pnpm test
You can upgrade your Rust dependencies with the included cargo-edit tool. In src-tauri/
say
cargo upgrade
The project has GitHub Actions set up which will automatically test and build your app with every push and PR. For building manually:
pnpm build
- Bump version number (In
package.json
, andsrc-tauri/
) - Run
pnpm check
to updateCargo.lock
- Tag the commit you want to release with
vX.Y.Z
- Github workflow will automatically build a new draft release for this version. Edit the release notes and publish when ready 🎉
- Follow @uninen on Twitter
- Read my continuously updating learnings from Vite / Vue / TypeScript and other Web development topics from my Today I Learned site
Contributions are welcome! Please follow the code of conduct when interacting with others.