How to use hooks to augment md content in v3? #3250
Unanswered
AloisSeckar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In Nuxt Content v2 I had Nitro plugin like this:
How can I use this in v3?
IDE says: "Argument of type '"content:file:beforeParse"' is not assignable to parameter of type 'HookKeys'." and the augmentation is not happening.
Based on (very brief) documentation page I tried to add following into
defineNuxtConfig
but it doesnt seem to work the way I am trying it:Did I figured out the
ctx
object structure incorrectly or is there something else I am doing wrong?Beta Was this translation helpful? Give feedback.
All reactions