This commit is contained in:
0xJacky 2022-02-19 16:47:09 +08:00
parent f6b9026918
commit 4aefecee2e
2 changed files with 14 additions and 3 deletions

View file

@ -49,5 +49,16 @@ module.exports = {
}
}
}
},
chainWebpack: config => {
config.module
.rule('vue')
.use('vue-loader')
.tap(options => {
options.compiler = require('vue-template-babel-compiler')
return options
})
}
}