const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ transpileDependencies: true, devServer: { port: 8080, // 建议显式设置端口 proxy: { '/': { target: 'http://localhost:8088', changeOrigin: true, ws: false, } } }, })