Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## ⚡ 简介

用前端技术构建一个更小、更快、更安全的桌面应用程序,基于 Tauri、Vue3、TypeScript、Element Plus、Pinia 和 Vite 等主流技术.
用前端技术构建一个更小、更快、更安全的桌面应用程序,基于 Tauri、Vue3、TypeScript、Element Plus、Pinia 和 Vite 等主流技术

- main 分支:源码来自[v3-admin-vite](https://github.com/un-pany/v3-admin-vite)
- mini 分支:精简版,仅有登录页和主页
Expand All @@ -18,12 +18,14 @@
## 🚀 开发

```bash

# 配置
1. 一键安装 .vscode 目录中推荐的插件
2. node 版本 16+
3. pnpm 版本 7.x

# 克隆项目
git clone https://github.com/nevlf/v3-tauri-vite.git

# 进入项目目录
cd v3-tauri-vite

Expand All @@ -49,7 +51,8 @@ pnpm lint
## 📦️ 多环境打包

- 若是无法下载 `wix311-binaries.zip`,则将 `libs/WixTools.zip` 解压后放在 `%USERPROFILE%\AppData\Local\tauri` 目录下,如下图所示
![](./libs/WixTools.png)
![WixTools](./libs/WixTools.png)
- [单例插件](https://github.com/tauri-apps/tauri-plugin-single-instance)只支持 window、linux

```bash
# 根据当前系统环境构建
Expand Down
15 changes: 1 addition & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,27 +32,17 @@
"element-plus": "^2.2.32",
"lodash-es": "^4.17.21",
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0",
"path-browserify": "^1.0.1",
"path-to-regexp": "^6.2.1",
"pinia": "^2.0.32",
"screenfull": "^6.0.2",
"vue": "^3.2.47",
"vue-router": "^4.1.6",
"vxe-table": "^4.3.10",
"vxe-table-plugin-element": "^3.0.6",
"xe-utils": "^3.5.7"
"vue-router": "^4.1.6"
},
"devDependencies": {
"@tauri-apps/cli": "^1.2.3",
"@types/lodash-es": "^4.17.6",
"@types/node": "^18.14.0",
"@types/nprogress": "^0.2.0",
"@types/path-browserify": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vue/eslint-config-prettier": "^7.1.0",
"@vue/eslint-config-typescript": "^11.0.2",
"eslint": "^8.34.0",
Expand All @@ -64,10 +54,7 @@
"sass": "^1.58.3",
"terser": "^5.16.4",
"typescript": "^4.9.5",
"unocss": "^0.50.0",
"vite": "^4.1.4",
"vite-plugin-svg-icons": "^2.0.1",
"vite-svg-loader": "^4.0.0",
"vue-eslint-parser": "^9.1.0",
"vue-tsc": "^1.1.7"
},
Expand Down
Loading