File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ async function analyze () {
17
17
}
18
18
}
19
19
const hasVue = await detectors . hasVue ( context )
20
- const vueVersion = ( window . $nuxt && window . $nuxt . $ root && window . $nuxt . $root . constructor . version ) || ( window . Vue && window . Vue . version ) || [ ...document . querySelectorAll ( '*' ) ] . map ( ( el ) => el . __vue__ && el . __vue__ . $root && el . __vue__ . $root . constructor . version ) . filter ( Boolean ) [ 0 ]
20
+ const vueVersion = window . $nuxt ?. $ root?. constructor ? .version || window . Vue ?. version || [ ...document . querySelectorAll ( "*" ) ] . map ( ( el ) => el . __vue__ ?. $root ?. constructor ?. version || el . __vue_app__ ? .version ) . filter ( Boolean ) [ 0 ]
21
21
const { ssr } = await detectors . getVueMeta ( context )
22
22
const framework = await detectors . getFramework ( context )
23
23
const ui = await detectors . getUI ( context )
You can’t perform that action at this time.
0 commit comments