1

I'm experimenting with Nuxt 3, Netlify and Netlify CMS. I'm familiar with vue but new to Nuxt.

I'm aware that nuxt/content is not yet compatible with Nuxt 3. Without nuxt/content, what would be the best way to load all the files that Netlify CMS is creating in /content and supply them to my vue components?

So far I've tried creating some server/middleware, which collects the content using node JS fs module but I'm unsure how best to supply it to the app. Or perhaps I could write a server-side plugin?

kissu
  • 40,416
  • 14
  • 65
  • 133
Iainure
  • 169
  • 1
  • 12

2 Answers2

1

Nuxt Content v2 has been released, and it should have the support of Nuxt 3.

Yuki Inoue
  • 3,569
  • 5
  • 34
  • 53
0

Yes, Nuxt Content v2, as pointed out by @Yuki Inoue, does work with Nuxt 3. Here's a proof of concept => https://gitlab.com/k16e/cfood

kb.works
  • 31
  • 1
  • 3
  • 1
    Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Mar 03 '23 at 13:34