You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue as been imported as question since it does not respect sitemap-module issue template. Only bug reports and feature requests stays open to reduce maintainers workload.
If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically.
Your question is available at https://cmty.app/nuxt/sitemap-module/issues/c78.
Thanks, Nicolas. It's great that it does that. I guess my question was how
can I add other parameters to each route so that it saves out to the file
as well. I can't save anything else other than the route.
If routes are not defined here:
sitemap: {
path: "/sitemap.xml",
hostname: "https://example.com"
}
AND a variable "routes" is found in the generate section, then the routes will be added automatically to the sitemap file.
generate: {
routes: function() {
return axios
.get(“blahblahblah”)
.then(res => {
const routes = [];
[…]
}
The text was updated successfully, but these errors were encountered: