| | |
| | | // 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, |
| | |
| | | output: { |
| | | library: `app-content`, |
| | | libraryTarget: "umd", |
| | | chunkLoadingGlobal: `webpackJsonp_app-content` |
| | | chunkLoadingGlobal: `webpackJsonp_app-content`, |
| | | }, |
| | | }, |
| | | chainWebpack: (config) => { |
| | |
| | | .loader("change-prefix-loader") |
| | | .options({ |
| | | prefix: "el-", |
| | | replace: "gp-" |
| | | replace: "gp-", |
| | | }) |
| | | .end(); |
| | | } |
| | | }, |
| | | }); |