目录
[安装 rust 插件](#安装 rust 插件)
[安装 Tauri 插件](#安装 Tauri 插件)

预安装环境
安装nodejs
windows下安装
linux下安装
Linux | Ubuntu零基础安装 nvm 管理nodejs
nodejs常遇问题
nodejs版本过高导致vue-cli项目无法正常运行解决方案
安装C++环境
介绍
Microsoft C++构建工具
1.下载 Microsqft C++ 构建工具 安装程序并打开它以开始安装。
2.在安装过程中,选中"使用 C++ 进行桌面开发"选项。
下载
Visual Studio: 面向软件开发人员和 Teams 的 IDE 和代码编辑器

安装

安装Rust语言
Tauri 使用 Rust 构建并需要它进行开发。使用以下方法之一安装 Rust。
你可以在 https://www.rust-lang.org/tools/install 查看更多安装方法。
Install Rust - Rust Programming Language

前往 https://www.rust-lang.org/tools/install 下载 rustup请务必重新启动终端(在某些情况下重新启动系统)以使更改生效。下一步:如果你想要在 Android 或 i0S 上开发应用,前往配置移动端。否则前往创建新项目,
Tauri官网
https://github.com/tauri-apps/tauri

安装
根据情况自由选择,我这里安装最简单的
架构是:前后端分离
前端:HTML + CSS + JavaScript
后端: Rust
bash
npm create tauri-app@latest
项目名称:shrimp-app
Identifier:直接回车(这里是指域名)
编程语言可以选:TS/JS
包管理:npm (nodejs的)
UI模板:通用的 html
UI风格:JavaScript


启动运行

vscode
安装 rust 插件

安装 Tauri 插件

运行成果
