打包资源配置

This commit is contained in:
qinjie 2021-08-30 16:48:09 +08:00
parent ee079657fe
commit 0212dfe7b3
1 changed files with 4 additions and 2 deletions

View File

@ -31,9 +31,11 @@ const assetsCDN = {
// vue.config.js
const vueConfig = {
// 打包资源路径
publicPath: './',
// 输出文件目录
outputDir: 'dist',
configureWebpack: {
// 打包资源路径
publicPath: './',
// webpack plugins
plugins: [
// Ignore all locale files of moment.js