title: Add _redirects file to root path for Vue SPA hosted on Netlify
body: <p>I'm developing a Single Page App using Vue CLI and want history pushstate to work so I get clean URLs.</p>
  
  <p>I have to follow this: <a href="https://www.netlify.com/docs/redirects/#history-pushstate-and-single-page-apps" rel="noreferrer">https://www.netlify.com/docs/redirects/#history-pushstate-and-single-page-apps</a> and add a <code>_redirects</code> file to the root of my site folder with the following:</p>
  
  <pre><code>/*    /index.html   200
  </code></pre>
  
  <p>The problem is I don't know how to add this <code>_redirects</code> file to the root of my dist folder. I tried adding it to the static folder but it ends up in a subfolder and not in root. How can I include this file so that history mode works after deploying on Netlify ?</p>
  
  <pre><code>// config/index.js
  build: {
    // Paths
    assetsRoot: path.resolve(__dirname, '../dist'),
    assetsSubDirectory: 'static',
    assetsPublicPath: '/',
  </code></pre>