14 lines
273 B
JavaScript
14 lines
273 B
JavaScript
|
|
export default {
|
||
|
|
chainWebpack: (config) => {
|
||
|
|
config.module
|
||
|
|
.rule('vue')
|
||
|
|
.use('vue-loader')
|
||
|
|
.tap((options) => {
|
||
|
|
options.compilerOptions = {
|
||
|
|
isCustomElement: (tag) => tag === 'webview'
|
||
|
|
}
|
||
|
|
return options
|
||
|
|
})
|
||
|
|
}
|
||
|
|
}
|