Skip to content

Commit 170e970

Browse files
update vue detection
1 parent ae864a5 commit 170e970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/libraries.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ var d41d8cd98f00b204e9800998ecf8427e_LibraryDetectorTests = {
12961296
return node.__vue__ != null ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
12971297
}
12981298
var hasVueNode = document.createTreeWalker(document.body, NodeFilter.SHOW_ELEMENT, isVueNode).nextNode() !== null;
1299-
if (hasVueNode) {
1299+
if (hasVueNode || win.Vue) {
13001300
return { version: win.Vue && win.Vue.version || UNKNOWN_VERSION };
13011301
}
13021302
return false;

0 commit comments

Comments
 (0)