2022-03-30 15:59:28 +00:00
|
|
|
---
|
|
|
|
template: Example
|
|
|
|
---
|
|
|
|
|
2022-04-06 05:56:08 +00:00
|
|
|
# `useHead`
|
2022-03-30 15:59:28 +00:00
|
|
|
|
2022-04-05 14:02:29 +00:00
|
|
|
This example shows how to use `useHead` and Nuxt built-in components to bind meta data to the head of the page.
|
2022-03-30 15:59:28 +00:00
|
|
|
|
|
|
|
::alert{type=info icon=👉}
|
2022-09-08 18:54:02 +00:00
|
|
|
Learn more about [meta tags](/guide/features/head-management#meta-components).
|
2022-04-06 05:56:08 +00:00
|
|
|
::
|
|
|
|
|
2022-09-08 18:54:02 +00:00
|
|
|
::ReadMore{link="/api/composables/use-head"}
|
2022-04-06 05:56:08 +00:00
|
|
|
::
|
|
|
|
|
|
|
|
::ReadMore{link="/guide/features/head-management"}
|
2022-03-30 15:59:28 +00:00
|
|
|
::
|
|
|
|
|
2022-04-05 14:02:29 +00:00
|
|
|
::sandbox{repo="nuxt/framework" branch="main" dir="examples/composables/use-head" file="app.vue"}
|