Do we have router.reload in vue-router?
<p>I see in this <a href="https://github.com/vuejs/vue-router/pull/442" rel="noreferrer">pull request</a>:</p>
<blockquote>
<ul>
<li><p>Add a <code>router.reload()</code></p>
<p>Reload with current path and call data hook again</p>
</li>
</ul>
</blockquote>
<p>But when I try issuing the following command from a Vue component:</p>
<pre><code>this.$router.reload()
</code></pre>
<p>I get this error:</p>
<blockquote>
<p><code>Uncaught TypeError: this.$router.reload is not a function</code></p>
</blockquote>
<p>I searched in the <a href="https://router.vuejs.org/en/api/router-link.html?q=reload" rel="noreferrer">docs</a>, but could not found anything relevant. Does vue/vue-router provider some functionality like this?</p>
<p>The software versions I'm interested in are:</p>
<pre><code>&quot;vue&quot;: &quot;^2.1.0&quot;,
&quot;vue-router&quot;: &quot;^2.0.3&quot;,
</code></pre>
<p>PS. I know <code>location.reload()</code> is one of the alternatives, but I'm looking for a native Vue option.</p>