title: Run VueJS app on Localhost
body: <p>I've bee trying to run a simple VueJS application built with Vue CLI/Webpack into my localhost without having to use npm run dev, but only by accessing from my local server. I ran the npm run build and dragged the files into my htdocs on Mamp, but still it doesnt seem to work. This is my directory structure in the project:</p>
  
  <p><a href="https://i.stack.imgur.com/S4MMX.png" rel="noreferrer"><img src="https://i.stack.imgur.com/S4MMX.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/CF2fE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/CF2fE.png" alt="enter image description here"></a></p>
  
  <p>This is my index.html in my root folder</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta name="viewport" content="width=device-width,initial-scale=1.0"&gt;
      &lt;title&gt;demo&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div id="app"&gt;&lt;/div&gt;
      &lt;!-- built files will be auto injected --&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and this is the index.html in the dist folder</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
    &lt;meta charset=utf-8&gt;
    &lt;meta name=viewport content="width=device-width,initial-scale=1"&gt;
    &lt;title&gt;demo&lt;/title&gt;
    &lt;link href=/static/css/app.e1c36c05dd8e70649268723708cfb519.css rel=stylesheet&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div id="app"&gt;&lt;/div&gt;
    &lt;script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js&gt;
    &lt;/script&gt;&lt;script type=text/javascript src=/static/js/vendor.3fae27b6d0a0572472a3.js&gt;&lt;/script&gt;
    &lt;script type=text/javascript src=/static/js/app.e5eb3a5fa6134479362c.js&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>What am i missing?</p>
  
  <p>Thank you!</p>