打包资源配置
This commit is contained in:
parent
ee079657fe
commit
0212dfe7b3
|
@ -31,9 +31,11 @@ const assetsCDN = {
|
||||||
|
|
||||||
// vue.config.js
|
// vue.config.js
|
||||||
const vueConfig = {
|
const vueConfig = {
|
||||||
|
// 打包资源路径
|
||||||
|
publicPath: './',
|
||||||
|
// 输出文件目录
|
||||||
|
outputDir: 'dist',
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
// 打包资源路径
|
|
||||||
publicPath: './',
|
|
||||||
// webpack plugins
|
// webpack plugins
|
||||||
plugins: [
|
plugins: [
|
||||||
// Ignore all locale files of moment.js
|
// Ignore all locale files of moment.js
|
||||||
|
|
Loading…
Reference in New Issue