peoray
Explore posts from serversNuxt Content: How do I get the page to render via the slug set as a frontmatter property?
In my
blog/index.vue
, I have the following:
In the /blog/[...slug].vue
, I have the following:
In my article markdown file, I have the following:
The name of the markdown file is this-is-the-beginning.md
and the page works as /blog/this-is-the-beginning
, but I want it to use the slug from the frontmatter instead and display the content at /blog/hello-world
.
At the moment, when it goes to /blog/hello-world
, I get a Document not found page error21 replies