Replies: 1 comment 2 replies
-
Hey, so for this you would use the const { data } = useAsyncData(() => {})
useBreadcrumbItems({
overrides: [
null, // shop
null, // item
{ label: data.value?.title }
]
}) You can read more about that here https://nuxtseo.com/docs/seo-utils/api/breadcrumbs#overrides |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there.
Let's assume I got a nested route like
/shop/item/[:id]/preview
Using the breadcrumbs composable, I am getting this result:
But now there's the thing: I want to replace the ID of the item with the name, which comes async from the database.
I read the docs but I still don't know how I'd do that. Any help is highly appreciated :-)
Beta Was this translation helpful? Give feedback.
All reactions