From a820b8ea4e0049754f8a7b98e234668991c711ed Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期三, 22 五月 2024 14:44:43 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout

---
 vue.config.js |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index 9b41f49..b375ec8 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,7 +1,6 @@
 const { defineConfig } = require("@vue/cli-service");
 module.exports = defineConfig({
-  // publicPath: 'http://182.92.203.7:3007/books/book/3',
-  publicPath:'/books/book',
+  publicPath: process.env.PUBLIC_PATH,
   transpileDependencies: true,
   lintOnSave: false,
   // devServer: {
@@ -19,8 +18,8 @@
     output: {
       library: `app-content`,
       libraryTarget: "umd",
-      chunkLoadingGlobal: `webpackJsonp_app-content`,
-    },
+      chunkLoadingGlobal: `webpackJsonp_app-content`
+    }
   },
   chainWebpack: (config) => {
     config.module
@@ -32,8 +31,8 @@
       .loader("change-prefix-loader")
       .options({
         prefix: "el-",
-        replace: "gp-",
+        replace: "gp-"
       })
       .end();
-  },
+  }
 });

--
Gitblit v1.9.1