feat:vuex发出

feature1.3
吴延福 2025-08-22 16:00:13 +08:00
parent ebc54accf9
commit b33b533dac
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ const resolve = (dir) => {
return path.join(__dirname, dir); return path.join(__dirname, dir);
}; };
module.exports = defineConfig({ module.exports = defineConfig({
publicPath: process.env.VUE_APP_EXPOSES_URL, publicPath: "./",
productionSourceMap: process.env.NODE_ENV !== "production", productionSourceMap: process.env.NODE_ENV !== "production",
transpileDependencies: true, transpileDependencies: true,
lintOnSave: true, // 在保存时校验格式 lintOnSave: true, // 在保存时校验格式
@ -65,6 +65,7 @@ module.exports = defineConfig({
name: "prevention", name: "prevention",
filename: "prevention.js", filename: "prevention.js",
exposes: { exposes: {
"./store": "./src/store/index.ts", // 包保责任制
"./preventionBlank": "./src/views/blank.component.vue", // 包保责任制 "./preventionBlank": "./src/views/blank.component.vue", // 包保责任制
"./majorHazard": "./majorHazard":
"./src/views/responsibility/majorHazard/majorHazard.component.vue", // 包保责任制 "./src/views/responsibility/majorHazard/majorHazard.component.vue", // 包保责任制