Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Nuxt Content v3 support #393

Closed
maximepvrt opened this issue Jan 3, 2025 · 6 comments
Closed

feat: Nuxt Content v3 support #393

maximepvrt opened this issue Jan 3, 2025 · 6 comments
Labels
enhancement New feature or request

Comments

@maximepvrt
Copy link

🆒 Your use case

Nuxt Content v3 support

🆕 The solution you'd like

Nuxt Content v3 support

🔍 Alternatives you've considered

No response

ℹ️ Additional info

No response

@maximepvrt maximepvrt added the enhancement New feature or request label Jan 3, 2025
@aatrooox
Copy link

Is this module still being actively updated?

I have been using Content v3.0.0 for a while now, but why hasn't this library added support for the latest Nuxt Content yet?

@harlan-zw
Copy link
Collaborator

Yes, you can easily see it's maintained by looking at the commit history.

Nuxt Content v3 is not stable and does not support module integrations yet. Waiting for my PR to be in the next release nuxt/content#2925

@aatrooox
Copy link

@harlan-zw The current issue is:

in the sitemap , it used #content/server

import { serverQueryContent } from "#content/server"

However, in Content v3, the way of importing has been changed.

So, if the sitemap is imported, it simply cannot run properly in dev mode.

I think this doesn't have much to do with the PR#2925 you mentioned.


btw, Is there an alpha version of the sitemap that works properly with the latest Nuxt Content? 🧐

harlan-zw added a commit that referenced this issue Jan 14, 2025
@harlan-zw
Copy link
Collaborator

I see, I've pushed up a workaround so that it will disable the Nuxt Content integration when using v3 until it's properly supported which will fix this error.

Again we are waiting on a Nuxt Content release before the sitemap module can release anything.

@maximepvrt
Copy link
Author

@harlan-zw https://github.com/nuxt/content/releases/v3.0.0-alpha.9 released

@harlan-zw harlan-zw mentioned this issue Jan 16, 2025
6 tasks
@harlan-zw
Copy link
Collaborator

Available in 7.2.0 - see #398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants