This commit is contained in:
2025-09-28 14:19:57 +08:00
parent 2ea3147268
commit f37a9f4163
11 changed files with 281 additions and 14 deletions

View File

@@ -0,0 +1,22 @@
import { defineConfig } from "@vue/cli-service";
export default defineConfig({
transpileDependencies: true,
devServer: {
host: "0.0.0.0",
port: 8080,
open: true,
hot: true,
historyApiFallback: true,
proxy: {
"/api": {
target: "http://localhost:8080",
ws: true,
changeOrigin: true,
pathRewrite: {
"^/api": "",
},
},
},
},
});