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
.
- [Vuejs]-Unable to access this keyword property inside a vuejs promise
- [Vuejs]-Initialising a global mixin in weex
Source:stackexchange.com