From 3b9668925cee7a1fd371a5c36e9c149c6ea6346c Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 14 五月 2024 21:17:25 +0800 Subject: [PATCH] 题目 --- vue.config.js | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 66342ce..e848709 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: { @@ -19,7 +22,7 @@ library: `app-content`, libraryTarget: "umd", chunkLoadingGlobal: `webpackJsonp_app-content` - } + }, }, chainWebpack: (config) => { config.module -- Gitblit v1.9.1