From 3f4328357a4bb89a3256b834e1ef2b07fc3c3d0e Mon Sep 17 00:00:00 2001 From: lzhe <lzhe@example.com> Date: 星期日, 29 九月 2024 14:11:04 +0800 Subject: [PATCH] 1 --- vue.config.js | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 1ef0d9a..cb2ce67 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,6 +1,13 @@ +/* + * @Date: 2024-03-23 09:49:06 + * @LastEditors: Sneed + * @LastEditTime: 2024-04-10 22:11:52 + * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/vue.config.js + */ const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ + lintOnSave: false, //璁剧疆涓虹┖鎵撳寘鍚庝笉鍒嗘洿鐩綍杩樻槸澶氱骇鐩綍 publicPath:'', //build缂栬瘧鍚庡瓨鏀鹃潤鎬佹枃浠剁殑鐩綍 @@ -19,9 +26,9 @@ target: process.env.VUE_APP_API_BASEURL, ws: true, pathRewrite: { - '^/api': '/' + // '^/api': '/' } - } + }, } }, -- Gitblit v1.9.3