useSocialTags

updateSocialTags

Merges the provided module options with the given data, generates the meta tags and updates them on the page.

<script setup>
const { updateSocialTags } = useSocialTags();

updateSocialTags({ title: "New Title for meta" });
</script>

updateSocialTags only works during setup or Lifecycle Hooks.

Edit this page on GitHub Updated at Wed, Mar 1, 2023