feat: Tauri 2 + React 脚手架 — gui crate

This commit is contained in:
2026-06-17 00:18:39 +08:00
parent 6d11e96fff
commit 4d3147a1e9
23 changed files with 10061 additions and 1272 deletions
+32
View File
@@ -0,0 +1,32 @@
{
"$schema": "https://raw.githubusercontent.com/nicehash/tauri/main/crates/tauri-cli/config.schema.json",
"productName": "QRGen",
"version": "0.1.0",
"identifier": "com.liuhangyu.qrgen",
"build": {
"frontendDist": "../src-frontend/dist",
"devUrl": "http://localhost:1420",
"beforeDevCommand": "cd src-frontend && pnpm dev",
"beforeBuildCommand": "cd src-frontend && pnpm build"
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"title": "QRGen - QR 码生成器",
"width": 900,
"height": 650,
"minWidth": 900,
"minHeight": 650,
"resizable": true,
"decorations": true
}
],
"security": {
"csp": null
}
},
"plugins": {
"store": {}
}
}