Skip to content
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

feat: hook into resolved tags hookTagsResolved #115

Merged
merged 1 commit into from Oct 3, 2022

Conversation

harlan-zw
Copy link
Collaborator

Issue

There is no way to modify the resolved head tags in both a SSR and client-side context.

Solution

Add a simple hook to allow users to view and update tags as they are resolved.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 2, 2022

Export Size

@vueuse/head

Name Size Diff
createHead 1.91 KB +20 B (+1.04%) 🔺
Unchanged

@vueuse/head

Name Size Diff
createElement 220 B -
Head 531 B -
injectHead 162 B -
isEqualNode 183 B -
renderHeadToString 741 B -
resolveHeadInput 199 B -
setAttrs 219 B -
sortTags 185 B -
stringifyAttrName 109 B -
stringifyAttrs 260 B -
stringifyAttrValue 101 B -
tagDedupeKey 276 B -
tagToString 424 B -
updateElements 769 B -
useHead 244 B -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant