vue.config.js 393 B

12345678910111213141516
  1. const {defineConfig} = require('@vue/cli-service')
  2. module.exports = defineConfig({
  3. transpileDependencies: true,
  4. devServer: {
  5. port: 8080,
  6. proxy: {
  7. "/abcdefg": {
  8. target: "http://localhost:9090/",
  9. changeOrigin: true,
  10. pathRewrite: {"/abcdefg": ""},
  11. secure: false
  12. }
  13. }
  14. }
  15. })