fix warning about custom component
This commit is contained in:
parent
de2f968645
commit
a3f48fc3f4
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue