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. Answer On Nuxt, you can use these 2 modules to generate dynamically yours robots.txt and sitemap.xml https://www.npmjs.com/package/@nuxtjs/robots https://www.npmjs.com/package/@nuxtjs/sitemap