vue.config.js 349 B

12345678910111213141516171819
  1. module.exports = {
  2. publicPath: "/entpc",
  3. productionSourceMap: false,
  4. lintOnSave: false,
  5. devServer: {
  6. open: true,
  7. port: "8086",
  8. hot: true,
  9. proxy: {
  10. "/api": {
  11. target: "https://app2-jytest.jianyu360.cn/entbase",
  12. changeOrigin: true,
  13. pathRewrite: {
  14. "^/api": ""
  15. }
  16. }
  17. }
  18. }
  19. }