title: Exact path match in Vue router?
body: <p>I am working on a Vue application and want to set up a exact path match for the default route. I have experience in React and Angular and both gave option <code>exact</code> and <code>pathMatch:'full'</code> so the default route only comes into action if it matches exactly.</p>
  
  <p>In vue, when I refresh my app, the default route gets fired and takes the user back to the first page . Is there a way to do something like that in Vue?</p>
  
  <pre><code>  routes: [
      {
        path: "/",
        name: "home",
        component: Home
        // how can I add exact match config here?
      },
      {
        path: "/login",
        name: "login",
        component: () =&gt;
          import(/* webpackChunkName: "about" */ "./views/Login.vue")
      },
      {
        path: "/charts",
        name: "charts",
        component: () =&gt;
          import(/* webpackChunkName: "about" */ "./views/ChartDemo.vue")
      }
    ]
  </code></pre>