{"id":19462927,"url":"https://github.com/uninen/tauri-vue-template","last_synced_at":"2025-04-25T08:31:44.587Z","repository":{"id":37799052,"uuid":"485947529","full_name":"Uninen/tauri-vue-template","owner":"Uninen","description":"Tauri 2 + Vue  (TypeScript) template w/ Vitest, Tailwind, and full CI/CD configured","archived":false,"fork":false,"pushed_at":"2025-04-17T04:38:37.000Z","size":2863,"stargazers_count":272,"open_issues_count":10,"forks_count":31,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-17T18:41:42.568Z","etag":null,"topics":["rust","tauri","typescript","vite","vitest","vue"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Uninen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"uninen"}},"created_at":"2022-04-26T21:06:10.000Z","updated_at":"2025-04-17T04:37:08.000Z","dependencies_parsed_at":"2023-10-16T13:01:03.051Z","dependency_job_id":"92f31ebe-7cbc-4476-8da3-cf0513a1fdc1","html_url":"https://github.com/Uninen/tauri-vue-template","commit_stats":null,"previous_names":[],"tags_count":8,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uninen%2Ftauri-vue-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uninen%2Ftauri-vue-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uninen%2Ftauri-vue-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uninen%2Ftauri-vue-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uninen","download_url":"https://codeload.github.com/Uninen/tauri-vue-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250782125,"owners_count":21486394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","tauri","typescript","vite","vitest","vue"],"created_at":"2024-11-10T18:06:41.659Z","updated_at":"2025-04-25T08:31:44.578Z","avatar_url":"https://github.com/Uninen.png","language":"TypeScript","funding_links":["https://github.com/sponsors/uninen"],"categories":[],"sub_categories":[],"readme":"# Tauri + Vue + Vite Template\n\n![Screenshot](./public/v2_screenshot.webp)\n\nFully configured project template for Tauri and Vue 3 w/ TypeScript and CI.\n\n## Features\n\n- **Vue 3 (TypeScript)** frontend (with devtools)\n- **Vite** configured w/ [AutoImport plugin](https://github.com/antfu/unplugin-auto-import)\n- **Vitest** for unit tests\n- **Github Actions** fo proper testing / CI pipeline\n- **VS Code** configs for recommended plugins and debugging\n\n## Setting Up\n\n1. Install [Tauri Prerequisites](https://tauri.app/start/prerequisites/)\n2. Clone and install dependencies (this template uses `pnpm` by default):\n\n```sh\npnpm i\n```\n\n## Usage\n\nA Tauri app has at least [two processes](https://tauri.app/concept/process-model/):\n\n- the Core Process (`backend`, or _main_ process in Electron terminology), and\n- the WebView process (`frontend`, or _renderer_ in Electron)\n\n### 🦢 Frontend (TS, PnPM)\n\n#### Running Development Server\n\nBoth back- and frontend start with a single command:\n\n```sh\npnpm tauri dev\n```\n\n#### Testing\n\n```sh\npnpm test\n```\n\n### 🦀 Backend (Rust, Cargo)\n\nBackend code lives in `src-tauri/` (Following commands are to be run from there.)\n\n#### Finding Outdated Rust Dependencies\n\nIf you have [cargo-outdated](https://github.com/kbknapp/cargo-outdated) installed:\n\n```sh\ncargo outdated\n```\n\n#### Upgrading Rust Dependencies\n\nIf you have [cargo-edit](https://github.com/killercup/cargo-edit) installed:\n\n```sh\ncargo upgrade\n```\n\n### Debugging\n\n- The `dev` command has by default `RUST_BACKTRACE=1` set which makes Rust output full backtraces to the console. (Remove it from the `package.json` command if you don't want it).\n- If you use VS Code, you can debug Rust code with the included `Debug Tauri` config.\n\n### Building and releasing\n\n#### Building\n\nThe project has GitHub Actions set up which will automatically test and build your app with every push and PR. For building manually:\n\n```sh\npnpm tauri build\n```\n\n#### Releasing a new version\n\n1. Bump version number by running `pnpm bump [x.y.z]`\n2. Run `pnpm check` to update `Cargo.lock`\n3. Tag the commit you want to release with `vX.Y.Z`\n4. Edit the release notes and push (also tags!)\n5. Github workflow will automatically build a new draft release for this version. Publish when ready 🎉\n\n## Elsewhere\n\n- Follow [unessa.net on Bluesky](https://bsky.app/profile/uninen.net) or [@uninen on Twitter](https://twitter.com/uninen)\n- Read my learnings around Tauri / Vue / TypeScript and other Web dev topics from my [Today I Learned site](https://til.unessa.net/)\n\n## Contributing\n\nContributions are welcome! Please follow the [code of conduct](./CODE_OF_CONDUCT.md) when interacting with others.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funinen%2Ftauri-vue-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funinen%2Ftauri-vue-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funinen%2Ftauri-vue-template/lists"}