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