commit: a3f48fc3f4230b283d62f55fcdf03247ae2ac481
parent de2f9686452b2bcb6cfe08fe9a5b648ec6bd5ed2
Author: Henry Jameson <me@hjkos.com>
Date: Tue, 29 Mar 2022 19:55:30 +0300
fix warning about custom component
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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
}