From a3f48fc3f4230b283d62f55fcdf03247ae2ac481 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 29 Mar 2022 19:55:30 +0300 Subject: [PATCH] fix warning about custom component --- build/webpack.base.conf.js | 6 ++++++ 1 file changed, 6 insertions(+) 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 }