I'm guessing some of you have some experience with generating Sitemap for your project.
I'm having a Nuxt ( SSR full static ) project.
I'm using @nuxtjs/prismic
and @nuxtjs/sitemap module.
The sitemap module does not generate dynamic pages therefor we need to asynchronously retrieve all the pages we have on the website and process the data into a format required by the sitemap module.
I'm guessing that I need to write some build module where I would have access to prismic and then generate and write the desired data format.
Help me please to understand how to import or access prismic from module level so I can write the desired logic.