Nuxt content v2 -> v3
Nuxt version
I've updated nuxt content to
In the migration guide, I read that content files don't have to be modified. Using this, my app throws the error: Content Data Page not found. Also,
Next, I've tried using collections:
with the
Neither approach works, my .md (also tried .yml) content files cannot be found. Help would be much appreciated.
^3.16.2: I've updated nuxt content to
3.4.0. my content files are in root/content and I've always used this code to load my data. In this case root/content/general.md:In the migration guide, I read that content files don't have to be modified. Using this, my app throws the error: Content Data Page not found. Also,
queryContent("/").findOne() does return undefined.Next, I've tried using collections:
with the
content.config.ts looking like this:Neither approach works, my .md (also tried .yml) content files cannot be found. Help would be much appreciated.
