mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
docs: add warning about bridge migration with head
(#27575)
This commit is contained in:
parent
d443a24cff
commit
c2f2627b99
@ -98,6 +98,10 @@ export default defineNuxtComponent({
|
|||||||
</script>
|
</script>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
::warning
|
||||||
|
Possible breaking change: `head` receives the nuxt app but cannot access the component instance. If the code in your `head` tries to access the data object through `this` or `this.$data`, you will need to migrate to the `useHead` composable.
|
||||||
|
::
|
||||||
|
|
||||||
## Title Template
|
## Title Template
|
||||||
|
|
||||||
If you want to use a function (for full control), then this cannot be set in your nuxt.config, and it is recommended instead to set it within your `/layouts` directory.
|
If you want to use a function (for full control), then this cannot be set in your nuxt.config, and it is recommended instead to set it within your `/layouts` directory.
|
||||||
|
Loading…
Reference in New Issue
Block a user