Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Commit 36c2e91

Browse files
committed
Updated error
1 parent a6efd46 commit 36c2e91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-docgen-api",
3-
"version": "2.0.4",
3+
"version": "2.0.5",
44
"description": "Toolbox to extract information from Vue component files for documentation generation purposes.",
55
"bugs": {
66
"url": "https://github.com/vue-styleguidist/vue-docgen-api/issues"

src/utils/getVueDoc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default function getVueDoc(docFile, component) {
77
let displayName;
88
let docComponent;
99
if (!component.name || component.name === '') {
10-
throw new Error("The component has no name, add 'el' property on the Vue component");
10+
throw new Error("The component has no name, add 'name' property on the Vue component");
1111
}
1212
displayName = component.name;
1313
if (docFile) {

0 commit comments

Comments
 (0)