Cyenoch / vitesse-tauri

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vitesse - Opinionated Vite Starter Template

Mocking up desktop app with Vitesse(speed) and Tauri(lightest)


Note: This template is created during the early transition of Vue 3 and Vite. At this moment, if you are seeking for better Vue developer experience and more consistent maintenance, instead (it also works perfectly with SPA or SSG as needed). This template still serves as a reference, but expect slower updates.


English | 简体中文


Features


Pre-packed

Platform

  • Tauri - Build an optimized, secure, and frontend-independent application for multi-platform deployment.

UI Frameworks

  • UnoCSS - The instant on-demand atomic CSS engine.

Icons

Plugins

Coding Style

Dev tools

Variations

As this template is strongly opinionated, the following provides a curated list for community-maintained variations with different preferences and feature sets. Check them out as well. PR to add yours is also welcome!

Official
Community

Try it now!

Vitesse requires Node >=14.18

GitHub Template

Create a repo from this template on GitHub.

Clone to local

If you prefer to do it manually with the cleaner git history

npx degit antfu/vitesse my-vitesse-app
cd my-vitesse-app
pnpm i # If you don't have pnpm installed, run: npm install -g pnpm

Checklist

When you use this template, try follow the checklist to update your info properly

Tauri related:

  • Rust development environment is a must

Web related:

  • Change the author name in LICENSE
  • Change the title in App.vue
  • Change the hostname in vite.config.ts
  • Change the favicon under the public folder
  • Remove the .github folder which contains the funding info
  • Clean up the READMEs and remove routes

And, enjoy :)

Usage

Development

Just run:

pnpm tauri dev

Build

To build the App, run

pnpm tauri build

And you will see the generated file in dist that ready to be served. and the executable file under here

About


Languages

Language:TypeScript 73.0%Language:HTML 8.8%Language:Vue 6.8%Language:Rust 6.1%Language:CSS 3.4%Language:JavaScript 1.8%