You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To support a new Vue plugin, please look at [detectors/plugins.json](detectors/plugins.json).
75
75
76
76
## Nuxt Info
77
77
78
-
When [Nuxt](https://nuxtjs.org) is detected as a framework, it will also detect:
78
+
When [Nuxt](https://nuxt.com) is detected as a framework, it will also detect:
79
79
80
-
- If the website is *server-rendered* (`mode: 'universal'`)
81
-
- If the website is *static* (`nuxt generate`)
80
+
- If the website is _server-rendered_ (`mode: 'universal'`)
81
+
- If the website is _static_ (`nuxt generate`)
82
82
83
83
See [detectors/nuxt.meta.json](detectors/nuxt.meta.json) for the detection.
84
84
85
85
It will also detect the Nuxt modules used, refer to [detectors/nuxt.modules.json](detectors/nuxt.modules.json) to support new Nuxt modules.
86
86
87
-
88
87
## NPM Module
89
88
90
89
You can use `vue-telescope-analyzer` locally on your project:
@@ -98,91 +97,69 @@ Then you can use the module in your project:
98
97
```js
99
98
constanalyze=require('vue-telescope-analyzer')
100
99
101
-
analyze('https://nuxtjs.org')
100
+
analyze('https://nuxt.com')
102
101
.then(result=>console.log(result))
103
102
.catch(error=>console.error(error))
104
103
```
105
104
106
105
Result:
107
106
108
107
```js
109
-
{
110
-
url:'https://nuxtjs.org/',
111
-
hostname:'nuxtjs.org',
112
-
domain:'nuxtjs.org',
113
-
// website metadata
108
+
{ 17:48:21
109
+
url:'https://nuxt.com/',
110
+
hostname:'nuxt.com',
111
+
domain:'nuxt.com',
114
112
meta: {
115
113
language:'en',
116
-
title:'Nuxt.js - The Vue.js Framework',
117
-
description:'Nuxt.js presets all the configuration needed to make...',
118
-
siteName:'NuxtJS',
114
+
title:'Nuxt: The Intuitive Web Framework',
115
+
description:'Build your next Vue.js application with confidence using Nuxt. An open source framework under MIT license that makes web development simple and powerful.',
116
+
siteName:'',
119
117
isAdultContent:false
120
118
},
121
-
vueVersion:'2.6.11',
119
+
vueVersion:'3.2.45',
122
120
hasSSR:true,
123
-
isStatic:true,
124
-
// Vue Framework
121
+
isStatic:false,
125
122
framework: {
126
123
slug:'nuxtjs',
127
124
name:'NuxtJS',
128
-
imgPath:'/framework/nuxt.svg', // prefix with https://icons.vuetelescope.com
0 commit comments