title: Building vue3 app results in semi-empty page
body: <p>I'm running into this problem while I'm trying to deploy a very simple vue3 app.</p>
  <p>when running <code>npm run serve</code> the app shows up as intended. when running <code>npm run build</code> and opening up the <code>/dist/index.html</code> I recive a semi-empty page.</p>
  <p><a href="https://i.stack.imgur.com/hv6dS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hv6dS.png" alt="enter image description here" /></a></p>
  <p>In both versions I do not have an error in the console (besides anti-tracking on the dev server)</p>
  <p>I added a <code>vue.config.js</code> file in the project directory which contains the following:</p>
  <pre><code>module.exports = {
    publicPath: process.env.NODE_ENV === 'production' ? '' : '/'
  }
  </code></pre>
  <p>before adding this config file the page ended up being completely blank (white).</p>
  <p>the Project itself is almost the same as from <code>vue create project</code>. only added content, css to <code>src/App.vue</code>, <code>src/views/Home.vue</code> and google/hotjar tracking to <code>public/index.html</code></p>
  <p>I'm thankful for any hints to help me solve this issue.</p>