8000 improve unknown element warning · vuejs/vue@69d4d45 · GitHub
[go: up one dir, main page]

Skip to content

Commit 69d4d45

Browse files
committed
improve unknown element warning
1 parent 3191495 commit 69d4d45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/util/component.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ export function checkComponentAttr (el, options) {
3737
) {
3838
warn(
3939
'Unknown custom element: <' + tag + '> - did you ' +
40-
'register the component correctly?'
40+
'register the component correctly? For recursive components, ' +
41+
'make sure to provide the "name" option.'
4142
)
4243
}
4344
}

0 commit comments

Comments
 (0)
0