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 a806787 commit 89e94eaCopy full SHA for 89e94ea
src/index.js
@@ -180,6 +180,10 @@ 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`)
184
+ if (!infos.framework.version && infos.vueVersion) {
185
+ infos.framework.version = infos.vueVersion.split('.')[0]
186
+ }
187
infos.isStatic = meta.static
188
infos.hasSSR = meta.ssr
189
infos.frameworkModules = modules
0 commit comments