-
Notifications
You must be signed in to change notification settings - Fork 943
extendPlugin not available in module or wrong docs #1932
Comments
Hi @cimchd you are reading docs wrong ;) For adding plugins to module you can either directly push/unshift to |
@pi0 Thank you for your answer. I understand the docs that here: https://nuxtjs.org/api/internals-module-container#extendplugins-fn- extendPlugin() is listed as a method of the ModuleContainer class. I have already solved my problem (with addPlugin), just wanted to let you know that the api docs do not provide the right or at least misleading information. |
Sorry @cimchd I missed docs part for internals. Seems docs related to nuxt/nuxt#6285 wrongly added by #1698 as a module container which is wrong. I moved the issue to the corresponding repo. |
Thanks for your contributions. We are now closing this repo as docs have now moved to nuxtjs.org using content module. Please continue your contributions on that site especially focusing on the guides folder which is the new docs. Thanks https://github.com/nuxt/nuxtjs.org/blob/master/README.md |
Version
v2.12.2
Reproduction link
https://nuxtjs.org/api/internals-module-container
Steps to reproduce
In https://nuxtjs.org/api/internals-module-container there are several functions listed that should be available in a ModuleContainer.
However the extendPlugins function is not available
I also checked all other functions from the docs, but they are working as expected.
So I am not sure: Are the docs wrong or is the extendPlugins function missing?
What is expected ?
extendPlugins available in a nuxt module in this context
or
extendPlugins function should not be listed in the docs.
What is actually happening?
extendPlugins is listed as function in a nuxt module in the docs but is not available
The text was updated successfully, but these errors were encountered: