Replies: 1 comment
-
For Nuxt 2, use Content V1. It has almost all the features of V2, but lacks composables, or different types of Content components, or MDC support (possibly available through remark-mdc plugin, customizable TOC scanning searchDepth, etc.). For Nuxt 3, use Content V2. And wait for the static option to be implemented. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I have an existing Nuxt project and I want to add Nuxt Content V1 to it. It seems like Nuxt Content V2 does not support static sites yet, so I thought I'd stick to V1.
I'm following the installation instructions on the documentation. I installed using
npm install @nuxt/[email protected]
.But when I add the following code to my nuxt.config.ts file, I get an error:
Any help or suggestions will be appreciated. Thank you!
Edit: Oh I'm on Nuxt 3. Could that be the issue? If that is the case, how could I use Nuxt Content V2 with my static site?
Beta Was this translation helpful? Give feedback.
All reactions