This is a cool way to add dynamic routes to your sitemap! I think this should be a part of the official Sitemap module. By default the Nuxt sitemap module does not support dynamic routes. In this video I show you an easy and effortless way to dynamically add all NuxtJS routes to your sitemap xml file.
Read more in this blog post.