title: How to change basepath on deployment of Vue app
body: <p>I have a Vue 2.0 webapplication that runs without problems on my computer, but I can't seem to get it to work on a server without the app running on the root directory. </p>
  
  <p>e.g: '<code>www.someserver.com/my-app/</code>' instead of '<code>www.someserver.com/</code>'.</p>
  
  <p>I used the <a href="https://github.com/vuejs-templates/webpack-simple/" rel="noreferrer">webpack-simple template</a> which has <a href="https://github.com/vuejs-templates/webpack-simple/blob/master/template/webpack.config.js" rel="noreferrer">this basic webpack configuration</a>. How can I make sure that the app will load the files from the folder instead of the root?</p>