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
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>个人仓位量化管理系统</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/renderer/main.js"></script>
</body>
</html>
48 changes: 48 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "portfolio-manager",
"version": "1.0.0",
"description": "个人仓位量化管理系统",
"main": "src/main/main.js",
"scripts": {
"dev": "vite",
"build": "vite build",
"start": "electron .",
"electron:dev": "concurrently \"vite\" \"wait-on http://localhost:5173 && electron .\"",
"electron:build": "vite build && electron-builder"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.0",
"concurrently": "^8.2.0",
"electron": "^28.0.0",
"electron-builder": "^24.9.0",
"vite": "^5.0.0",
"vue": "^3.4.0",
"wait-on": "^7.2.0"
},
"dependencies": {
"chart.js": "^4.4.0",
"vue-chartjs": "^5.3.0",
"vue-router": "^4.2.0",
"element-plus": "^2.4.0"
},
"build": {
"appId": "com.portfolio-manager",
"productName": "个人仓位量化管理系统",
"directories": {
"output": "dist-electron"
},
"files": [
"dist/**/*",
"src/main/**/*",
"node_modules/**/*"
],
"mac": {
"category": "public.app-category.finance"
},
"win": {
"target": "nsis"
}
}
}
Loading