Skip to main content

📺 CLI

This addon includes its own strapi-sitemap CLI. This is separate from the core Webtools CLI used during installation/enabling. For core Webtools installation and enabling content types, see the Installation guide.

You can add it to your project like so:

"scripts": {
// ...
"sitemap": "strapi-sitemap"
},

You can now run the generate command like so:

yarn sitemap generate