What I’m trying to do here is to make nuxt.js or vue.js generate a robots.txt and sitemap.xml that can be pulish the data that inside each file from an external api.
Advertisement
Answer
On Nuxt, you can use these 2 modules to generate dynamically yours robots.txt
and sitemap.xml