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

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

@miketrombamiketromba 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

Copy link
Copy Markdown

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

@netlify

netlifyBot commented Oct 10, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs ready!

NameLink
🔨 Latest commit860f0ee
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/63455e01d8e9450008ca9db4
😎 Deploy Previewhttps://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 threaddocs/content/2.guide/2.directory-structure/1.plugins.md Outdated
Comment threaddocs/content/2.guide/2.directory-structure/1.plugins.md Outdated
@atinux
atinux merged commit 2aa0973 into nuxt:mainOct 11, 2022
@atinux

Copy link
Copy Markdown
Member

Thank you!

@danielroedanielroe mentioned this pull request Oct 11, 2022
@miketromba
miketromba deleted the patch-1 branch October 12, 2022 14:11
Sign up for freeto 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

@miketromba@atinux@danielroe