Compare commits

..

15 Commits
后端 ... main

24
.gitignore vendored

@ -1,24 +0,0 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

Binary file not shown.

@ -1,3 +0,0 @@
后端和前端混一起了看ReadMe

@ -1,3 +1,3 @@
Flask_Sqlite那个是后端数据库和接口的压缩包 由于一些组件文件过大,整体项目的代码放在百度网盘上
其他都是前端的文件, 链接https://pan.baidu.com/s/1Dl_ziRMuGEegFs63YlMWug
这个托管好难用 提取码682v

Binary file not shown.

@ -1,13 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Vue</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>

1552
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -1,25 +0,0 @@
{
"name": "subway",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@amap/amap-jsapi-loader": "^1.0.1",
"axios": "^1.6.8",
"element-plus": "^2.7.3",
"vue": "^3.4.21",
"vue-amap": "^0.5.10",
"vue-router": "^4.3.2"
},
"devDependencies": {
"@types/node": "^20.12.12",
"@vitejs/plugin-vue": "^5.0.4",
"less": "^4.2.0",
"vite": "^5.2.0"
}
}

Binary file not shown.

Binary file not shown.

@ -1,18 +0,0 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import {tr} from "element-plus/es/locale/index";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
server : {
proxy:{
'/admin':{
target: 'http://127.0.0.1:5000/admin',
changeOrigin: true,
rewrite:(path) => path.replace(/^\/admin/,''),
}
}
}
})
Loading…
Cancel
Save