This commit is contained in:
Your Name
2026-04-16 11:13:26 +08:00
parent 3d9c5dd8f5
commit 8022229e71
16 changed files with 1703 additions and 231 deletions
+8 -1
View File
@@ -41,7 +41,14 @@ export default defineConfig({
server: {
host: '0.0.0.0',
hmr: true,
open: true
open: true,
proxy: {
'/api-proxy': {
target: 'https://admin.zhenyangtang.com.cn',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api-proxy/, '')
}
}
},
plugins: [
vue(),