- 删除 'const emit = defineEmits' 错误行(无泛型参数且未调用) - PropsPanel 不 emit 事件,直接调 store.xxx - 修复变量名 CHART_TYPES 拼写 - 简化 vite.config.ts 用 mode 参数区分 Web/桌面模式 - npm run dev → mode=web,端口8080; tauri:dev → mode=default,端口5173
41 lines
841 B
JSON
41 lines
841 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "u-ppt",
|
|
"version": "1.0.0",
|
|
"identifier": "com.uppt.desktop",
|
|
"build": {
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://127.0.0.1:5173",
|
|
"beforeDevCommand": "npm run dev",
|
|
"beforeBuildCommand": "npm run build"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "u-ppt · 在线演示工具",
|
|
"width": 1280,
|
|
"height": 800,
|
|
"minWidth": 900,
|
|
"minHeight": 600,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"devtools": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
}
|
|
}
|