mouthpiece/frontend/vue.config.js

15 lines
319 B
JavaScript

const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true,
publicPath: '/static',
devServer: {
allowedHosts: "all",
port: 8888,
proxy: {
'^/api': {
target: 'http://localhost:8080',
changeOrigin: true,
},
},
}
})