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
> Discover Nuxt modules to supercharge your project! Created by the Nuxt team and community.
7
+
8
+
👉 https://modules.nuxtjs.org
9
+
10
+
## Modules Database
11
+
12
+
Meta-data of nuxt modules are maintained in [yml](https://en.wikipedia.org/wiki/YAML) files inside [/modules](./modules) directory and automatically synced from upstream to fetch latest information.
13
+
14
+
### Contribution
11
15
12
16
- If you feel a module is missing, please create a new [issue](https://github.com/nuxt/modules/issues/new)
13
-
- If some meta is wrong, feel free directly opening a pull request
17
+
- If some data is outdated, directly opening a pull request
18
+
19
+
### Using CDN
20
+
21
+
Compiled JSON data is available from following CDNs:
You can use the `@nuxt/modules` package by installing it in your project:
29
+
30
+
```bash
31
+
# npm
32
+
npm install @nuxt/modules
33
+
34
+
# yarn
35
+
yarn add @nuxt/modules
36
+
```
37
+
38
+
Then you can directly import the list of modules:
39
+
40
+
```js
41
+
// ESM
42
+
importmodulesfrom'@nuxt/modules'
43
+
44
+
// CommonJS
45
+
constmodules=require('@nuxt/modules')
46
+
```
47
+
48
+
### Schema
49
+
50
+
Field Name | Auto sync | Description
51
+
--------------|-----------|--------------
52
+
name | No | Cannonical name of module
53
+
description | Yes | Module short description
54
+
repo | No | Github repository. Format is `org/name` or `org/name#main/path`
55
+
npm | Yes | NPM package name
56
+
icon | No | Icon of module from [/static/icons](./static/icons) directory
57
+
github | No | Github URL
58
+
website | No | Website URL
59
+
learn_more | No | Link to learn more (website or relevant integration website)
60
+
category | No | Module category from [/categories.json](./categories.json)
61
+
type | No | `community` (for [nuxt-community](https://github.com/nuxt-community/)), `official` (for https://github.com/) or `3rd-party`
62
+
maintainers | Yes | List of maintainers each item has `name`, `github` and `avatar`
63
+
compatibility | No | Module compatibility status. Valid keys are `2.x`, `2.x-bridge` and `3.x` and valid values are `working`, `wip`, `unknown`, `broken` and `rip`. Please see [this discussion](https://github.com/nuxt/framework/discussions/751) for more information.
64
+
65
+
66
+
## Maintenance
14
67
15
68
### Add or update repository
16
69
@@ -30,62 +83,47 @@ yarn sync
30
83
31
84
### Generate `dist/module.json`
32
85
33
-
```
86
+
```sh
34
87
yarn build
35
88
```
36
89
37
-
## Module Usage
38
-
39
-
You can use the `@nuxt/modules` package by installing it in your project:
40
-
41
-
```bash
42
-
npm install @nuxt/modules
43
-
# Or yarn add @nuxt/modules
44
-
```
45
-
46
-
Then you can directly import the list of modules:
47
90
48
-
```js
49
-
constmodules=require('@nuxt/modules')
50
-
// modules is an array of objects
51
-
// See https://unpkg.com/@nuxt/modules/dist/modules.json
52
-
```
53
-
54
-
## Website
91
+
## Website development
55
92
56
-
### Development
93
+
- Clone repository
94
+
- Install depenedencies using `npx yarn install`
57
95
58
-
Start Nuxt in development:
96
+
Start development:
59
97
60
98
```bash
61
-
yarn dev
99
+
npx yarn dev
62
100
```
63
101
64
-
Then visit http://localhost:3000.
102
+
Then visit http://localhost:3000
65
103
66
104
In development, the npm downloads and GitHub stars will be mocked.
67
105
68
-
### Production
106
+
### Production build
69
107
70
108
Create a [personnal GitHub token](https://github.com/settings/tokens) (no scope selected) and add it to `.env`:
0 commit comments