title: Vuejs index.html <link> tags not respecting relative path
body: <p>I am trying to deploy a built Vue app on a web server NOT using the root path and my relative links are referencing the root. Has anyone successfully tackled this?</p>
  
  <p>I have tried setting publicPath to "", "./", and "." with no success. My app is being deployed at mydomain.com/dev and my index file links look like <code>&lt;link href="css/my.css"&gt;</code> once built</p>
  
  <p>vue.config.js</p>
  
  <pre><code>module.exports = {
      publicPath: "./"
  }
  </code></pre>
  
  <p>index.html</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;link href=css/app.f262a66a.css rel=preload as=style&gt;
  &lt;link href=css/chunk-vendors.d92c4b75.css rel=preload as=style&gt;
  &lt;link href=js/app.384925b6.js rel=preload as=script&gt;
  </code></pre>
  
  <p>I would expect that these links would try to load files from <code>mydomain.com/dev/css/app.f262a66a.css</code> but they are loading from <code>mydomain.com/css/app.f262a66a.css</code> and therefore I am getting a 404 response.</p>
  
  <p>Any help would be greatly appreciated</p>