Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 522 Bytes

MetaTags.adoc

File metadata and controls

23 lines (14 loc) · 522 Bytes

Meta Tags

To add meta tags to your pwa modify the useHead section inside the script tag of your page.

In our example we added the page title, but of course you can provide a description or any other tag you want. For detailed information on what is possible please refer to the Nuxt documentation on meta tags.

// ~/pages/[...slug].ts

...

<script setup lang="ts">

...

useHead({
  title: currentPage.value?.data["pt_title"],
});

</script>