const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ devServer:{ proxy:{ '/api':{ target:'https://m.douban.com/rexxar/api/v2', changeOrigin:true, pathRewrite:{ '^/api':'' } }, '/market':{ target:'https://market.douban.com/api/v2', changeOrigin:true, pathRewrite:{ '^/market':'' } }, '/doubao':{ target:'https://ark.cn-beijing.volces.com/api/v3', changeOrigin:true, pathRewrite:{ '^/doubao':'' } } }, compress: false }, transpileDependencies: true })