New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: unfined defineNuxtPlugin migration guide for nuxt bridge #22433 #23036
docs: unfined defineNuxtPlugin migration guide for nuxt bridge #22433 #23036
Conversation
Run & review this pull request in StackBlitz Codeflow. |
β Live Preview ready!
|
6fb8dba
to
73a4d88
Compare
73a4d88
to
e4f5811
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you β€οΈ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, A description of the defineNuxtPlugin
compatible with Nuxt 3 can be found at https://nuxt.com/docs/bridge/plugins-and-middleware.
What is explained here is how to migrate from @nuxtjs/composition-api
to Nuxt Bridge's capi.legacy
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have approve it by mistake.(I don't know how to cancel approve. π’ )
i'm confused is this synthax from nuxt/bridge readme (https://github.com/nuxt/bridge#new-plugins-format-optional) not available anymore ? the defineNuxtPlugin has been removed from nuxt bridge then ? |
No, it has not been deleted. |
Maybe, instead of making this change to the code example, we could add a note after the example that there is a new |
I think that suggestion is a good one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me!
π Linked issue
#22433
β Type of change
π Checklist