How to add prefix for the sitemap.xml path
anjali89r opened this issue · comments
Details
I have a blogs project that is going to separate from the existing website and want to generate the sitemap.xml for this blogs project as this example.com/blogs/sitemap.xml
Is this possible with the sitemap module now ?
Hi, it sounds like you should be using the Nuxt baseURL option?
export default defineNuxtConfig({
app: {
baseURL: '/blogs'
}
})
The sitemap module should emit the correct paths from there.