vue.config.js
@@ -1,4 +1,28 @@ const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ transpileDependencies: true }) transpileDependencies: true, outputDir:"dist", publicPath:"./", assetsDir:"static", devServer:{ host:"localhost", open:true, https: false, hot:true, client:{ overlay: { warnings:false, errors:true } }, proxy:{ [process.env.VUE_APP_BASE_API]:{ target: process.env.VUE_APP_BASE_URL, changeOrigin: true, pathRewrite: { ['^'+process.env.VUE_APP_BASE_API]: '' } } } } });