tauri-apps / vue-cli-plugin-tauri

Turn your Vue SPA into a lightweight cross-platform desktop app
https://tauri.studio
MIT License
372 stars 23 forks source link
guijs hacktoberfest tauri vue vue-cli-plugin

vue-cli-plugin-tauri

Tauri is a toolkit for creating smaller, faster, and more secure desktops applications with a web frontend. This plugin configures Tauri to work in your Vue CLI project.

Deprecation Notice

Just like Vue CLI itself, this plugin is now deprecated and won't receive any updates anymore. Please migrate to @tauri-apps/cli.

Installation

Please visit the documentation website or our discord server if you have any problems.

General Prerequisites:

Detailed Prerequisite Installation Instructions:

https://tauri.app/v1/guides/getting-started/prerequisites

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
yarn tauri:build

With npm:

# Start dev server with HMR
npm run tauri:serve
# Build executable
npm run tauri:build