vue.config.js 390 B

1234567891011121314151617181920
  1. const path = require('path');
  2. module.exports = {
  3. transpileDependencies: ['uview-ui'],
  4. devServer: {
  5. port: '6901',
  6. inline: false,
  7. //api地址前缀
  8. proxy: {
  9. // '/api/util': {
  10. // target: 'http://localhost:6900',
  11. // changeOrigin: true,
  12. // },
  13. // '/api': {
  14. // target: 'http://sps.fwedzgc.com:8090',
  15. // changeOrigin: true,
  16. // ws: false,
  17. // },
  18. },
  19. },
  20. };