diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 65d398c80b..1a0e486a26 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -64,6 +64,12 @@ module.exports = { loader: 'vue-loader', options: { compilerOptions: { + isCustomElement(tag) { + if (tag === 'pinch-zoom') { + return true + } + return false + }, compatConfig: { MODE: 2 }