Before I was getting movie detail from the component\'s script. The function first check whether the movie ID of the store is same as of the route\'s param movie ID. If its
To access the vue instance in the store use this._vm. But as Amresh advised do not use things like $router in vuex
this._vm
$router