vue.config.js 414 B

1234567891011121314151617181920
  1. // vue.config.js
  2. /**
  3. * @type {import('@vue/cli-service').ProjectOptions}
  4. */
  5. module.exports = {
  6. // 选项...
  7. devServer: {
  8. proxy: {
  9. "/api": {
  10. target: "https://bok.seec.seecoder.cn",
  11. // target: "http://localhost:8080",
  12. ws: true,
  13. changeOrigin: true
  14. }
  15. },
  16. port: 8000,
  17. },
  18. lintOnSave:false,
  19. }