Skip to content

Commit 320f584

Browse files
committed
edit error msg
1 parent 4d40268 commit 320f584

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vueify.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function findSFC(callback) {
180180
if (!name) {
181181
name = getSFCName(url);
182182
if (!name) {
183-
console.error('[Vueify]: Unable to parse SFC name from given dom.', dom);
183+
console.error('[VueifyJS]: Unable to parse SFC name from given dom.', dom);
184184
return;
185185
}
186186
}
@@ -548,9 +548,9 @@ function registerRootSFCs() {
548548
pendingSFCs[sfc_name].resolve(module.default);
549549
delete pendingSFCs[sfc_name];
550550
} else {
551-
console.error('[VueifyJS]: Unable to register components in Vue.' +
552-
'\nPlease make sure that Vueify is loaded before creating ' +
553-
'the first Vue instance.' , sfc_obj);
551+
console.error('[VueifyJS]: Unable to register components in Vue.' +
552+
'\n\nPlease make sure the tag name is the html and Vueify is ' +
553+
'loaded before creating the first Vue instance.' , sfc_obj);
554554
}
555555

556556
sfc_dom.remove();

0 commit comments

Comments
 (0)