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 : http://localhost:8080/article/85.
How can I slug an URL with the article title so it can be http://localhost:8080/article/the-article-title for example ?
I have no idea what kind of code should I provide so here is my article route :
routes: [
{
path: '/article/:id',
component: require('../components/articlePage.vue').default,
name: 'article',
meta: {title: "article"}
},
]