fix warning about custom component
This commit is contained in:
parent
de2f968645
commit
a3f48fc3f4
@ -64,6 +64,12 @@ module.exports = {
|
|||||||
loader: 'vue-loader',
|
loader: 'vue-loader',
|
||||||
options: {
|
options: {
|
||||||
compilerOptions: {
|
compilerOptions: {
|
||||||
|
isCustomElement(tag) {
|
||||||
|
if (tag === 'pinch-zoom') {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
},
|
||||||
compatConfig: {
|
compatConfig: {
|
||||||
MODE: 2
|
MODE: 2
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user