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 intonuxt:mainfrom
miketromba:patch-1
Oct 11, 2022
Merged

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

Conversation

@miketromba
Copy link
Copy Markdown
Contributor

@miketromba miketromba commented Oct 10, 2022

🔗 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
Copy link
Copy Markdown

codesandbox Bot commented Oct 10, 2022

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

@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 10, 2022

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
Copy link
Copy Markdown
Member

atinux commented Oct 11, 2022

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