const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    port: 8082,
    host: '',
    proxy: {
      '/api': {
        target: 'http://192.168.31.232:8070',
        changeOrigin: true
        // 路径重写规则，这里将 /api 开头的请求路径替换为空字符串，即去掉 /api 前缀

      }
    }
  }

})
