title: How to generate URL with form for vue-router?
body: <p>I am trying to create search bar(form), but I need it to have pretty URL but I am using Vue-router so my app.js looks like this</p>
  
  <pre><code>let Search = Vue.component('search', require('./components/Search.vue'));
  const routes = [
      { path: '/protocols/:param', component: Search },
  ]
  </code></pre>
  
  <p>now functionally when I type /protocols/test I get my desired results, but I am not sure how to create a form so when I type something to redirect me to that route /protocols/:param since my page is vue component</p>
  
  <pre><code>&lt;form action="/protocols/?what goes here?"&gt;
      &lt;input type="text" placeholder="Search..." class="" name="" id="search"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>since all tutorials are made for search on the same page, but I need to dedicate one for results</p>