const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ transpileDependencies: true, pages: { index: { entry: 'src/main.js', template: 'public/index.html', filename: 'index.html', title: '实景三维在线应用平台', chunks: ['chunk-vendors', 'chunk-common', 'index'] } }, devServer: { port: 8080, proxy: { '/oauth/': { target: 'http://121.43.55.7:10086/oauth', changeOrigin: true, pathRewrite: { '^/oauth': '' } }, } } })