title: Nuxt.js static site and 404 page
body: <p>I have currently created a <code>pages/404.vue</code> file, then, in my server settings, I redirect any non existent url to /404.html (the generated page).</p>
  
  <p>Apart me having to declare the file extension (it gives me redirect error if I redirect to /404), it seems to work fine, and I guess it will also give me an easy way to create other server error files, if needed.</p>
  
  <p>However, following the documentation, I first tried adding <code>fallback: true</code> inside <code>generate:{ }</code>. This creates a <code>404.html</code> page in my root, but using a default Nuxt layout (an infinite loading wheel page).</p>
  
  <p>I assumed that creating <code>layouts/error.vue</code> (as per docs) would do the trick, but didn't seem the case.</p>
  
  <p>What is the right practice, and, if the documentation one is to follow, why my personalised error.vue wasn't working?
  Thanks.</p>