组件按需加载
This commit is contained in:
@@ -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({
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user