We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i can't make it work can someone help me or if guys have any working example ? Thank you I'm using "nuxt-simple-sitemap": "^2.4.22",
The text was updated successfully, but these errors were encountered:
Hey @furkanavc. You can should use the serverQueryContent util like so:
serverQueryContent
const docs = await serverQueryContent(event).find() return docs.map(d => ({ loc: '/news/' + d._path // might be something other than _path }))
You can see an example on fetching the data here: https://content.nuxtjs.org/guide/recipes/sitemap
Sorry, something went wrong.
I can look at making this easier, the module would just need to have an idea on your route mapping
@harlan-zw Thank you for the help :) https://stackblitz.com/edit/nuxt-starter-dwj6e5?file=server%2Fapi%2F_sitemap-urls.ts this works perfect
No branches or pull requests
Details
i can't make it work can someone help me or if guys have any working example ?
Thank you
I'm using "nuxt-simple-sitemap": "^2.4.22",
The text was updated successfully, but these errors were encountered: