vue.config.js
@@ -1,12 +1,13 @@ /* * @Date: 2024-03-23 09:49:06 * @LastEditors: gaoshp * @LastEditTime: 2024-03-23 18:21:49 * @LastEditors: lzhe lzhe@example.com * @LastEditTime: 2024-03-28 11:34:07 * @FilePath: /cps-web/vue.config.js */ const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ lintOnSave: false, //设置为空打包后不分更目录还是多级目录 publicPath:'', //build编译后存放静态文件的目录