[Vuejs]-Filter table data depending of a url id in vueJS

0👍

I think that for this purposes is there $route.params object. So if you have route like this,

{
  path: '/mixtapesDetails/:anything',
  name: 'mixtapesDetails',
  component: mixtapesDetails
}

in mixtapesDetails component implementation you can access :anything path segment value with $route.params.anything.

Leave a comment