Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update 6.meta.md
Adding larger warning with more context about a breaking change when meta is set to true
  • Loading branch information
garthreckers authored Jun 12, 2024
commit 3c0bb7c97bfbf3a402a1e8cb3427ec1b6c569393
4 changes: 4 additions & 0 deletions docs/6.bridge/6.meta.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ export default defineNuxtComponent({
</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

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.
Expand Down