We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c517ebf commit 061d287Copy full SHA for 061d287
src/index.js
@@ -180,7 +180,7 @@ async function analyze (originalUrl, options = {}) {
180
getNuxtMeta(context),
181
getNuxtModules(context)
182
])
183
- infos.framework.version = await page.evaluate(`__unctx__?.get('nuxt-app')?.use()?.versions?.nuxt`)
+ infos.framework.version = await page.evaluate(`window.__unctx__?.get('nuxt-app')?.use()?.versions?.nuxt`)
184
if (!infos.framework.version && infos.vueVersion) {
185
infos.framework.version = infos.vueVersion.split('.')[0]
186
}
0 commit comments