title: How to generate txt & xml files in nuxt SSR?
body: <p>Is there any way of generating a Google : <code>ads.txt</code> file every time i build my <strong>SSR</strong> project? </p>
  
  <p>There is a module called: <code>sitemap-module</code> from <code>nuxt-community</code>, it is used to generate a <code>sitemap</code> xml file, and that file can be accessed by <a href="http://domain.tls/sitemap.xml" rel="nofollow noreferrer">http://domain.tls/sitemap.xml</a>. and i want something like that.</p>
  
  <p>So currently i'am achieving this by building the project, then manually put <code>ads.txt</code> it in : <code>/var/www/site/.nuxt/dist/client/</code>, </p>
  
  <p><strong>The problem with this is that everytime i rebuild the project i loose <code>/var/www/site/.nuxt/dist/client/</code> folder then i have to add <code>ads.txt</code> file again.</strong></p>
  
  <p>I would like to know how i can hook up my code to tell nuxt to generate <code>ads.txt</code> file and put it in <code>/var/www/site/.nuxt/dist/client/</code></p>
  
  <hr>
  
  <p><em>Not sure if it makes sense, but i hope someone will understand.</em></p>