Compare commits
12 Commits
main
...
node_modul
Author | SHA1 | Date |
---|---|---|
ph3itme7x | 9a1b7a81c5 | 6 months ago |
ph3itme7x | ae525b83cf | 6 months ago |
ph3itme7x | ce239f2ae7 | 6 months ago |
ph3itme7x | 449028f8d8 | 6 months ago |
ph3itme7x | f2e1fa71df | 6 months ago |
ph3itme7x | 798e6e52fd | 6 months ago |
ph3itme7x | 9bf2a9bca1 | 6 months ago |
ph3itme7x | 7c04257c33 | 6 months ago |
ph3itme7x | 56f44cb77d | 6 months ago |
ph3itme7x | 616646ea91 | 6 months ago |
ph3itme7x | db923262a5 | 6 months ago |
ph3itme7x | 644b5ea67f | 6 months ago |
@ -0,0 +1,24 @@
|
||||
# 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.
@ -0,0 +1,7 @@
|
||||
# Vue 3 + Vite
|
||||
|
||||
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
||||
|
||||
## Recommended IDE Setup
|
||||
|
||||
- [VS Code](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (previously Volar) and disable Vetur
|
@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/png" href="image/logo.png">
|
||||
<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>
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,25 @@
|
||||
{
|
||||
"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.
@ -0,0 +1,18 @@
|
||||
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…
Reference in new issue