title: Nuxt.js - is it possible to set custom path/base to staticfiles' urls?
body: <p><strong>TLDR;</strong></p>
  
  <p>How to change staticfiles path from <code>src="/_nuxt/&lt;file&gt;"</code> to e.g. <code>src="/static/frontend/&lt;file&gt;"</code> in Nuxt generated files?</p>
  
  <hr>
  
  <p>Recently I've started a project using Nuxt.js and Django framework. Simply explained, with Nuxt I <em>generate</em> the <code>dist/</code> - my frontend app, and then copy it with Node.js to Django's static folder to be served.</p>
  
  <p>In Django, the static files come built with a different path e.g <code>/static/frontend/&lt;filename&gt;.js</code>. However when I use <code>nuxt generate</code> to generate my app, there is - naturally - a path to files within the <code>dist</code> folder, in my case it's <code>/_nuxt/&lt;filename&gt;.js/</code>. </p>
  
  <p>Is it possible to modify this "prefix" in <code>nuxt.config.js</code>? So far I know only about this option to set the base path for the whole app:</p>
  
  <pre><code>// nuxt.config.js
  
  router: {
      base: '/app/'
  },
  </code></pre>
  
  <p>But this is not a solution for me. Until now I have to replace the path occurences manually with Node.js and it might make things a bit messy. Any help appreciated!</p>