<p dir="auto">In order to have nice looking paths without hash or bang, I am using history mode:</p>
<p dir="auto">var router = new VueRouter({<br>
routes: routes,<br>
mode: 'history'<br>
})</p>
<p dir="auto">However, when I refresh a page, I get a 404 error.  If I remove mode: 'history', I can go directly to urls at a path and refresh pages in my browser.</p>
<p dir="auto">Can I remove hash and bang (#!) from my urls and be able to refresh pages and use direct urls to a path?</p>
<h3 dir="auto">Vue.js version</h3>
<p dir="auto">2.0.2</p>
<h3 dir="auto">Reproduction Link</h3>


<p dir="auto">When I deployment my vue app to IIS, refresh page in SPA component, I go 404 error</p>