feat: 完成前端窗口控制和配置适配
- 更新 tauri.conf.json 配置正确的前端构建路径 - 调整开发服务器端口为 Vite 默认端口 5173 - 添加 Tauri 前端依赖包 - 窗口拖拽样式已兼容
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
"version": "3.0.0-beta.1",
|
||||
"identifier": "com.ccswitch.app",
|
||||
"build": {
|
||||
"frontendDist": "../build",
|
||||
"devUrl": "http://localhost:3000",
|
||||
"beforeDevCommand": "pnpm dev",
|
||||
"beforeBuildCommand": "pnpm build"
|
||||
"frontendDist": "../dist",
|
||||
"devUrl": "http://localhost:5173",
|
||||
"beforeDevCommand": "pnpm run dev:renderer",
|
||||
"beforeBuildCommand": "pnpm run build:renderer"
|
||||
},
|
||||
"app": {
|
||||
"windows": [
|
||||
|
||||
Reference in New Issue
Block a user