vue.config.js 456 B

1234567891011121314151617181920
  1. const { defineConfig } = require('@vue/cli-service')
  2. module.exports = defineConfig({
  3. transpileDependencies:true,
  4. lintOnSave:false, //关闭哦语法检查
  5. devServer: {
  6. host: '132.232.92.186',
  7. // https:true,
  8. port: 8888,
  9. client: {
  10. webSocketURL: 'ws://132.232.92.186:8888/chatHub',
  11. },
  12. headers: {
  13. 'Access-Control-Allow-Origin': '*',
  14. }
  15. },
  16. transpileDependencies: true
  17. })
  18. module.exports = {
  19. lintOnSave: false,
  20. }