Releases: nuxt-modules/sitemap
v1.0.0
✨ v1 Release
With support for non-prerendered apps and development previews now available, the module is now at a stable release version.
If you have any feedback on the release, please submit an issue or get in touch 🙂!
🚀 Features
Prerendering is no longer required
When the module starts, it will now detect all your static routes and automatically add them to the sitemap.
You can opt-out of any of the discovered URLs with the nitro route rules { index: false }
.
Dev Sitemap preview
Previewing the sitemap in development is now possible for static routes, you can visit /sitemap.preview.xml
.
It won't be able to accurately show you dynamic routes if you're relying on the nitro crawler though.
New config: defaults
- Type:
object
- Default:
{}
Default values for the sitemap entries. See sitemaps.org for all available options.
New config: urls
- Type:
() => MaybePromise<SitemapEntry[]> | MaybePromise<SitemapEntry[]>
- Default:
[]
Provide custom URLs to be included in the sitemap.xml.
New config: devPreview
- Type:
boolean
- Default:
true
Whether to generate the sitemap preview in development.
It can be useful to disable if you have fetch requests to external APIs.
🐛 Fixes
- Nitro route rules for the sitemap now have the correct types
v0.5.10
v0.5.9
v0.5.8
v0.5.7
v0.5.6
chore: release v0.5.6
v0.5.5
v0.5.4
v0.5.3
v0.5.2
chore: release v0.5.2