闫增涛
2024-05-22 0df037ea5a1ee04e35eb339ff1fcddf658e4901f
vue.config.js
@@ -2,8 +2,8 @@
// 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:'/books/book/1',
  // publicPath: 'http://182.92.203.7:3007/books/book/3',
  publicPath:'/books/book/1',
  transpileDependencies: true,
  lintOnSave: false,
  // devServer: {
@@ -21,7 +21,7 @@
    output: {
      library: `app-content`,
      libraryTarget: "umd",
      chunkLoadingGlobal: `webpackJsonp_app-content`
      chunkLoadingGlobal: `webpackJsonp_app-content`,
    },
  },
  chainWebpack: (config) => {
@@ -34,8 +34,8 @@
      .loader("change-prefix-loader")
      .options({
        prefix: "el-",
        replace: "gp-"
        replace: "gp-",
      })
      .end();
  }
  },
});