2020-02-25 15:42:21 +01:00
2019-12-17 16:58:59 -08:00
2019-12-17 16:58:59 -08:00
2020-02-21 11:05:55 -08:00
2019-12-17 16:58:59 -08:00
2019-12-06 01:06:36 +01:00
2020-02-21 11:07:57 -08:00
2020-02-21 11:05:55 -08:00

vue-cli-plugin-tauri

A Vue CLI plugin for rigging Tauri

Turn your Vue SPA into a tiny cross platform desktop app that is fast and secure.

Installation

Please read the general Tauri wiki if you run into any problems: https://github.com/tauri-apps/tauri/wiki

Prerequisites:

  • NodeJS/npm
  • Vue CLI (yarn global add @vue/cli / npm i -g @vue/cli)
  • Rust/Cargo
  • Tauri CLI (cargo install tauri-bundler)
  • Yarn (optional but recommended over npm)

OS Specifics

Steps:

  1. Create a Vue CLI project (or cd into an existing one)
vue create my-tauri-app
cd my-tauri-app
  1. Install Vue CLI Plugin Tauri
vue add tauri
  1. Run commands

With Yarn:

# Start dev server with HMR
yarn tauri:serve
# Build executable (dist in src-tauri/target/release)
yarn tauri:build

With npm:

# Start dev server with HMR
npm run tauri:serve
# Build executable (dist in src-tauri/target/release)
npm run tauri:build
Description
No description provided
Readme MIT 1.3 MiB
Languages
JavaScript 100%