vue.config.js 478 B

12345678910111213141516171819202122232425
  1. module.exports = {
  2. configureWebpack: {
  3. devServer: {
  4. port: 8085,
  5. https: true,
  6. open: true,
  7. proxy: {
  8. '/api': {
  9. target: 'http://smart-server.seec.seecoder.cn',
  10. changeOrigin: true,
  11. ws:true,
  12. pathRewrite:{
  13. '^/api': ''
  14. }
  15. }
  16. },
  17. //关闭eslint
  18. // overlay:{
  19. // warnings: false,
  20. // errors: false
  21. // },
  22. // lintOnSave: false,
  23. }
  24. }
  25. };