const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ transpileDependencies: true, publicPath: './', // 代理服务,处理接口跨域请求 devServer: { port: '8080',// proxy: { '/api': { //target:'http://124.70.137.152:8095',// http://2.142.215.98:8010 // target: 'http://192.168.139.9:8084', target: 'http://2.142.215.98:8010', changeOrigin: true, pathRewrite: { '^/api': '/' } } } }, })