vue.config.js 390 B

12345678910111213141516171819
  1. const { defineConfig } = require('@vue/cli-service')
  2. module.exports = defineConfig({
  3. transpileDependencies: true,
  4. })
  5. module.exports = {
  6. publicPath: '',
  7. devServer: process.env.NODE_ENV == 'development'?{
  8. proxy: {
  9. '/api': {
  10. target: 'http://mptest.zhiqiyun.com',
  11. changeOrigin: true,
  12. pathRewrite: {
  13. '^/api': ''
  14. }
  15. }
  16. }
  17. }:{}
  18. }