title: How to slug an url using Vuejs
body: <p>I'm building a website with several articles. I'm using Vue Router, and for the moment the urls of my articles look like /article/id, for example : <code>http://localhost:8080/article/85</code>.</p>
  
  <p>How can I slug an URL with the article title so it can be <code>http://localhost:8080/article/the-article-title</code> for example ?</p>
  
  <p>I have no idea what kind of code should I provide so here is my article route : </p>
  
  <pre><code>routes: [
   {
     path: '/article/:id',
     component: require('../components/articlePage.vue').default,
     name: 'article',
     meta: {title: "article"}
    }, 
  ]
  </code></pre>