258e55b78a
- 添加项目基础配置文件 package.json、tsconfig.json 和 vite.config.ts - 配置 Git 忽略规则 .gitignore 包含构建产物和开发环境文件 - 设置 VSCode 推荐插件 extensions.json 包含 Volar、Tauri 和 Rust 分析器 - 创建项目主页 index.html 和应用入口 src/main.ts - 添加 README.md 包含项目介绍和推荐的 IDE 设置 - 安装依赖包包括 @tauri-apps/api、vue、vue-router 等核心库 - 生成 pnpm 锁定文件 pnpm-lock.yaml 确保依赖版本一致性
36 lines
687 B
JSON
36 lines
687 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "rolegram",
|
|
"version": "0.1.0",
|
|
"identifier": "com.macro.rolegram",
|
|
"build": {
|
|
"beforeDevCommand": "pnpm dev",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeBuildCommand": "pnpm build",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "rolegram",
|
|
"width": 800,
|
|
"height": 600
|
|
}
|
|
],
|
|
"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"
|
|
]
|
|
}
|
|
}
|