mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
docs: updated bridge migration guide (#8471)
Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
parent
95ae87ba05
commit
d228b11c04
@ -252,8 +252,13 @@ export default defineNuxtConfig({
|
|||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
This `useHead` composable uses `@vueuse/head` under the hood (rather than `vue-meta`) to manipulate your `<head>`.
|
::alert
|
||||||
Accordingly, we recommend not to use both the native Nuxt 2 `head()` properties as well as `useHead`, as they may conflict.
|
This `useHead` composable uses `@vueuse/head` under the hood (rather than `vue-meta`) to manipulate your `<head>`. You need to add `@vueuse/head` to your package.json file for it to work properly.
|
||||||
|
::
|
||||||
|
|
||||||
|
::alert{type=warning}
|
||||||
|
We recommend not using the native Nuxt 2 `head()` properties in addition to `useHead`, as they may conflict.
|
||||||
|
::
|
||||||
|
|
||||||
For more information on how to use this composable, see [the docs](/getting-started/seo-meta).
|
For more information on how to use this composable, see [the docs](/getting-started/seo-meta).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user