how to use vue-router params : <p>I'm new to vue now working with its router.
I want to navigate to another page and I use the following code:</p>

<pre><code>this.$router.push({path: '/newLocation', params: { foo: "bar"}});
</code></pre>

<p>Then I expect it to be on the new Component </p>

<pre><code>this.$route.params
</code></pre>

<p>This doesn't work.
I also tried:</p>

<pre><code>this.$router.push({path: '/newLocation'});
this.$router.push({params: { foo: "bar"}});
</code></pre>

<p>I've inspected the source code a bit and noticed this property gets overwritten with new object {}.</p>

<p>I'm wondering is the params use is other than I think?
If not, how to use it?</p>

<p>Thanks in advance</p>
