发布并分享你的模块

加入 Nuxt 模块生态系统并将你的模块发布到 npm。

Nuxt 模块生态系统 代表了每月超过 3500 万次的 NPM 下载量,并提供了各种工具的扩展功能和集成。你也可以成为这个生态系统的一部分!

观看 Vue School 关于 Nuxt 模块类型的视频。

Understanding module types

Official modules are modules that start with the @nuxt/ prefix (scope) (for example @nuxt/content). They are actively developed and maintained by the Nuxt team. Like the framework itself, community contributions are very welcome to help make them even better!

Community modules are modules that start with the @nuxtjs/ prefix (scope) (for example @nuxtjs/tailwindcss). They are proven modules developed and maintained by community members. Anyone is welcome to contribute.

Third-party and other community modules are usually modules that start with the nuxt- prefix. Anyone can make them, and using this prefix makes these modules easier to discover on npm. This is the best starting point for sketching out and experimenting with an idea!

Private or personal modules are modules made for your own use case or company. They do not need to follow any naming rules to be compatible with Nuxt, and are commonly found under npm organization scopes (for example @my-company/nuxt-auth).

上架你的模块

任何社区模块都欢迎被列在模块列表中。要列出,请在 nuxt/modules 仓库中打开一个 issue。Nuxt 团队可以在上架前帮助你应用最佳实践。

加入 nuxt-modules

将你的模块转移到 nuxt-modules 后,总会有人可以帮助你,我们也可以一起打造一个完美的解决方案。

如果你已经发布了一个正常运行的模块,并希望将其转移到 nuxt-modules,请在 nuxt/modules 中 打开一个 issue

通过加入 nuxt-modules,我们可以将你的社区模块重命名到 @nuxtjs/ 作用域下,并为其文档提供一个子域名(例如 my-module.nuxtjs.org)。