-
Hi,
But 'my-post' and 'mon-article' are static strings. I'm getting the slugs from an external CMS. So would it be possible to do something like this:
So I can get the slug after the api call at runtime. |
Beta Was this translation helpful? Give feedback.
Answered by
jbmolle
Nov 21, 2022
Replies: 1 comment 17 replies
-
Hi,
JB |
Beta Was this translation helpful? Give feedback.
17 replies
Answer selected by
jbmolle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I've found how to do it and I'm posting here so maybe it'll help other people.
In Nuxt 3 we can access the page meta through route.meta so:
JB