@@ -53,14 +53,19 @@ export function renderElement (
53
53
let Ctor
54
54
if ( config . isReservedTag ( tag ) ) {
55
55
return new VNode (
56
- tag , data , undefined ,
57
- undefined , undefined , namespace , context , host
56
+ tag , data ,
57
+ undefined , undefined , undefined ,
58
+ namespace , context , host
58
59
)
59
60
} else if ( ( Ctor = resolveAsset ( context . $options , 'components' , tag ) ) ) {
60
61
return createComponent ( Ctor , data , parent , context , host , tag )
61
62
} else {
62
63
if ( process . env . NODE_ENV !== 'production' ) {
63
- if ( ! namespace && config . isUnknownElement ( tag ) ) {
64
+ if (
65
+ ! namespace &&
66
+ ! ( config . ignoredElements && config . ignoredElements . indexOf ( tag ) > - 1 ) &&
67
+ config . isUnknownElement ( tag )
68
+ ) {
64
69
warn (
65
70
'Unknown custom element: <' + tag + '> - did you ' +
66
71
'register the component correctly? For recursive components, ' +
@@ -69,8 +74,9 @@ export function renderElement (
69
74
}
70
75
}
71
76
return new VNode (
72
- tag , data , undefined ,
73
- undefined , undefined , namespace , context , host
77
+ tag , data ,
78
+ undefined , undefined , undefined ,
79
+ namespace , context , host
74
80
)
75
81
}
76
82
} else {
0 commit comments