Skip to content

Commit ae1a479

Browse files
committed
chore: update Nuxt
1 parent 2d348e2 commit ae1a479

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Result:
121121
isStatic: false,
122122
framework: {
123123
slug: 'nuxtjs',
124-
name: 'NuxtJS',
124+
name: 'Nuxt',
125125
imgPath: '/framework/nuxt.svg',
126126
url: 'https://nuxt.com'
127127
},

detectors/frameworks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"nuxt": {
33
"metas": {
44
"slug": "nuxtjs",
5-
"name": "NuxtJS",
5+
"name": "Nuxt",
66
"imgPath": "/framework/nuxt.svg",
7-
"url": "https://nuxtjs.org"
7+
"url": "https://nuxt.com"
88
},
99
"detectors": {
1010
"html": [

icons/framework/nuxt.svg

Lines changed: 1 addition & 1 deletion
Loading

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ async function analyze (originalUrl, options = {}) {
174174
infos.plugins = await getPlugins(context)
175175
infos.ui = await getUI(context)
176176

177-
// Get Nuxt modules if using NuxtJS
178-
if (infos.framework && infos.framework.name === 'NuxtJS') {
177+
// Get Nuxt modules if using Nuxt
178+
if (infos.framework && infos.framework.slug === 'nuxtjs') {
179179
const [meta, modules] = await Promise.all([
180180
getNuxtMeta(context),
181181
getNuxtModules(context)

0 commit comments

Comments
 (0)