vue.config.js 397 B

1234567891011121314151617181920212223242526
  1. const {
  2. defineConfig
  3. } = require('@vue/cli-service')
  4. module.exports = defineConfig({
  5. transpileDependencies: true,
  6. devServer: {
  7. client: {
  8. overlay: false
  9. },
  10. port: 8080,
  11. proxy: {
  12. '/action': {
  13. target: 'http://localhost:9999',
  14. changeOrigin: true,
  15. pathRewrite: {
  16. '^/action': ''
  17. },
  18. secure: false
  19. }
  20. }
  21. }
  22. })