-
Hot to get current content on [...slug].vue ? |
Beta Was this translation helpful? Give feedback.
Answered by
nobkd
Sep 22, 2022
Replies: 2 comments 2 replies
-
Can you describe your problem/question in more detail? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Any update? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you're looking for
useContent()
You can see this for usage: https://github.com/nuxt/content/blob/main/src/runtime/pages/document-driven.vue
You can also look in the api docs
Oh. Just seen this method only works in document driven mode
When you're not using doc-driven mode, there should be another way