From 0a465050c773d8b420f2b99d598de3d5dc9aef2b Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期五, 17 五月 2024 15:45:28 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- vue.config.js | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/vue.config.js b/vue.config.js index 66342ce..ec3deaa 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,6 +1,9 @@ +// const { publicCtx } = require("@/assets/js/config"); +// import {publicCtx} from '@/assets/js/config' const { defineConfig } = require("@vue/cli-service"); module.exports = defineConfig({ - publicPath: "http://182.92.203.7:3007/books/book/1", + // publicPath: 'http://182.92.203.7:3007/books/book/1', + publicPath:'/books/book/1', transpileDependencies: true, lintOnSave: false, // devServer: { @@ -18,8 +21,8 @@ output: { library: `app-content`, libraryTarget: "umd", - chunkLoadingGlobal: `webpackJsonp_app-content` - } + chunkLoadingGlobal: `webpackJsonp_app-content`, + }, }, chainWebpack: (config) => { config.module @@ -31,8 +34,8 @@ .loader("change-prefix-loader") .options({ prefix: "el-", - replace: "gp-" + replace: "gp-", }) .end(); - } + }, }); -- Gitblit v1.9.1