title: Error 404 on page reload with vue3 routing
body: <p><strong>Problem</strong></p>
  <p>When I hit reload on a route, e.g /installer, in vue3.js I get the following error:</p>
  <p><a href="https://i.stack.imgur.com/UKxdk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UKxdk.png" alt="Error" /></a></p>
  <p><strong>Code</strong></p>
  <p>I use the <a href="https://router.vuejs.org/" rel="nofollow noreferrer">Router</a> with the following setup:</p>
  <pre class="lang-js prettyprint-override"><code>const router = createRouter({
    history: createWebHistory(process.env.BASE_URL),
    routes,
  });
  </code></pre>
  <p><strong>Additional Information</strong></p>
  <p>(I don't use createWebHashHistory to get rid of the hashtags in url)</p>
  <p>I also get this error when I go to the route, e.g. /installer, directly and not via link.</p>
  <p><strong>Question</strong></p>
  <p>How to resolve this error?</p>