vue.config.js 344 B

12345678910111213141516
  1. const { defineConfig } = require('@vue/cli-service')
  2. module.exports = defineConfig({
  3. transpileDependencies: true,
  4. devServer:{
  5. port:8081,
  6. proxy:{
  7. "/abcdefg":{
  8. target:"http://localhost:8080/hosp5_war_exploded",
  9. changeOrigin:true,
  10. pathRewrite:{"/abcdefg":""},
  11. secure : false
  12. }
  13. }
  14. }
  15. })