title: VueJS: router.resolve issue
body: <p>A warning is shown in the console:</p>
  
  <blockquote>
    <p>the id param was not provided.</p>
  </blockquote>
  
  <p>The docs mention that the current route will be used:</p>
  
  <blockquote>
    <p><strong>current</strong> is the current Route by default (most of the time you don't
    need to change this)</p>
  </blockquote>
  
  <p>html code:</p>
  
  <pre><code>&lt;div id="app"&gt;
    &lt;router-link to="/5"&gt;/5&lt;/router-link&gt;
    &lt;button @click="onClick"&gt;Resolve&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>js code:</p>
  
  <pre><code>new Vue({
      el: '#app',
  
    router: new VueRouter({
      routes: [
          {
          name: 'foo',
          path: '/:id',
          component: {
              template: '&lt;div&gt;Foo &lt;router-view/&gt;&lt;/div&gt;',
          },
          children: [
              {
              name: 'bar',
              path: 'bar',
              component: {
                  template: '&lt;div&gt;Bar&lt;/div&gt;'
              }
            }
          ]
        },
      ],
    }),
  
    methods: {
      onClick() {
        console.log('Omitting current');
          this.$router.resolve({ name: 'bar' });
        console.log('Including current');
          this.$router.resolve({ name: 'bar' }, this.$route);
      }
    }
  });
  </code></pre>