wl
2022-12-23 475958b9c193fc364b6bf25af05a50e59375d643
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
      host: 'localhost',
      port: 9098,
      open: true,
    proxy: {
      '/api': {
        target: 'http://localhost:9099',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  }
})