组件按需加载

This commit is contained in:
A1300399510
2023-07-13 17:34:25 +08:00
parent 348057a649
commit a626223e64
10 changed files with 97 additions and 110 deletions

View File

@@ -2,6 +2,7 @@ const { defineConfig } = require('@vue/cli-service')
const path = require('path')
module.exports = defineConfig({
productionSourceMap: false,
// publicPath: process.env.NODE_ENV === 'production' ? './' : '/',
publicPath: '/',
configureWebpack: {
@@ -50,7 +51,9 @@ module.exports = defineConfig({
}
}
}
}
},
})