I don't see where Nuxt is saving the file. I have this
sitemap: {
path: '/sitemap.xml',
hostname: 'http://crypto.news',
cacheTime: 1000 * 60 * 15,
generate: false, // Enable me when using nuxt generate
exclude: [
'/secret',
'/admin/**'
],
routes: [
'/crypto/the-decentralized-union-a-blockchain-use-case-part-2',
'/ico/new-token'
]
}
I have nothing in root, and Static folder.
In .nuxt
I have sitemap-routes.json
file which contains
["/"]
That's all.
How this thing working anyway?
Oh, I found out that this file is generating on the fly when I build and then
npm run start
. That's awesome!