-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Rename useMeta
to useHead
#13651
Comments
I believe we can keep |
Certainly we would need backward compatibility and deprecate option and composable first :) |
Is this something that you want to work on @danielroe ? |
Or do you have any suggestions or things that we may missed regarding the renaming? |
I guess also the |
I am okay with renaming it |
This is an off-topic but related to useMeta... In nuxt@2 you could define a layout-level middleware that would affect all the pages that use it. Would this be possible in nuxt@3? |
Related to that, should the shortcuts be renamed then too? #13555 |
Updating the issue, I think the shortcuts should reflect the current html tag, |
Renaming
meta
tohead
, can make API consistent and familiar with Nuxt 2 and less chance of confusing with arbitrary meta definitions such as (more importantly)definePageMeta
.The text was updated successfully, but these errors were encountered: