添加打包资源路径配置

This commit is contained in:
qinjie 2021-08-30 16:38:11 +08:00
parent 59048cc4cb
commit ee079657fe
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ const assetsCDN = {
// vue.config.js // vue.config.js
const vueConfig = { const vueConfig = {
configureWebpack: { configureWebpack: {
// 打包资源路径
publicPath: './',
// webpack plugins // webpack plugins
plugins: [ plugins: [
// Ignore all locale files of moment.js // Ignore all locale files of moment.js