Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

docs: Add recommendation for controlling plugin registration order. - #8096

Merged
atinux merged 3 commits into
nuxt:mainfrom
miketromba:patch-1
Oct 11, 2022
Merged

docs: Add recommendation for controlling plugin registration order.#8096
atinux merged 3 commits into
nuxt:mainfrom
miketromba:patch-1

Conversation

@miketromba

@miketromba miketromba commented Oct 10, 2022

Copy link
Copy Markdown
Contributor

🔗 Linked issue

From discussion https://github.com/nuxt/framework/discussions/1260#discussioncomment-3842023

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Controlling the order of plugin registration is a common requirement, so I think this should be added as an explicit recommendation in the docs.

Right now, it just says "Plugins are called in order sequentially and before everything else" in a small part of the docs. I don't think it's verbose enough. A section titled something like "Plugin registration order" would be very helpful.

From discussion https://github.com/nuxt/framework/discussions/1260#discussioncomment-3842023

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Controlling the order of plugin registration is a common requirement, so I think this should be added as an explicit recommendation in the docs.

Right now, it just says "Plugins are called in order sequentially and before everything else" in a small part of the docs. I don't think it's verbose enough. A section titled something like "Plugin registration order" would be very helpful.

From discussion https://github.com/nuxt/framework/discussions/1260#discussioncomment-3842023
@codesandbox

codesandbox Bot commented Oct 10, 2022

Copy link
Copy Markdown

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify

netlify Bot commented Oct 10, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs ready!

Name Link
🔨 Latest commit 860f0ee
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/63455e01d8e9450008ca9db4
😎 Deploy Preview https://deploy-preview-8096--nuxt3-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Comment thread docs/content/2.guide/2.directory-structure/1.plugins.md Outdated
Comment thread docs/content/2.guide/2.directory-structure/1.plugins.md Outdated
@atinux
atinux merged commit 2aa0973 into nuxt:main Oct 11, 2022
@atinux

atinux commented Oct 11, 2022

Copy link
Copy Markdown
Member

Thank you!

@danielroe danielroe mentioned this pull request Oct 11, 2022
@miketromba
miketromba deleted the patch-1 branch October 12, 2022 14:11
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants