Skip to content

better-rs/tauri-vue-quasar

 
 

Repository files navigation

This template help us to compile Vue.js with Tauri and Rust

Tauri is a tool very similar to Electron, to generate cross-platform apps
It runs like a Rust binary

Vue.js + Quasar Vite + Tauri


This template have the following resources

  • Vue.js 3.0
  • Quasar UI // Support to quasar
  • Vite
  • i18n // Internationalization and multi languagem support
  • axios // http request
  • routes // routes with or without parameters
  • Vue components
  • pinia // a global store library
  • Icons

Requirements

Techonologies
https://vitejs.dev/
https://vuejs.org/
https://quasar.dev/
https://tauri.app/

Check the Material Design Guide https://m3.material.io/

Learn Rust
rust-lang.org/ rust-lang.org/pt-BR/

Before install

check if you have the following environment

# https://nodejs.org/pt-br/ # node > 14
npm install --global yarn # yarn
yarn global add @vue/cli # vue cli
yarn global add @quasar/cli # quasar cli

Rust

This project uses Tauri
It helps you to deploy well fashioned apps like Electron Apps

Install Rust rust-lang.org/pt-BR/tools/install

Then install Tauri

cargo install create-tauri-app

Configure Tauri

It has been created with command cargo create-tauri-app or similar yarn create tauri-app

To use Vite

 yarn create vite
 
 cd lab/
 yarn create tauri-app
 

Clone this repository

git clone https://github.com/[seuusuario]/vite-quasar-tauri-template.git
yarn #Install dependencies

How to run

yarn 
quasar dev

Build Java Script

quasar build

Build the deployable binary

cargo build 
cargo build --release
cargo run

About

Template to use Vue.Js and Vite+Quasar+Tauri

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 52.3%
  • JavaScript 41.7%
  • SCSS 4.5%
  • Rust 1.5%