diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 65d398c8..1a0e486a 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 }