title: How do I change status Code with Vue-router?
body: <p>Error handling with Vue-router seems to be easy, not until you look into the response code. As you can see the following, the 404 page displays a status code of 304, not 404 for a 'Not found' page.</p>
  
  <p><a href="https://i.stack.imgur.com/cakKb.png" rel="nofollow noreferrer">image</a></p>
  
  <p>I've looked up multiple threads, but it looks like not a single post implies this situation. Is this supposed to be handled with a web server like Nginx? If so, what about dynamic URLs that comes out in through API? </p>
  
  <p>Ps. I am working with Vue-cli3.</p>