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

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

Merged
merged 3 commits into from Oct 11, 2022
Merged

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

merged 3 commits into from Oct 11, 2022

Conversation

miketromba
Copy link
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

codesandbox bot commented Oct 10, 2022

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

@netlify
Copy link

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.

@Atinux Atinux merged commit 2aa0973 into nuxt:main Oct 11, 2022
Copy link
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.

None yet

3 participants