Update route parameters without re-rendering
[issue link]Nuxt.js has been an absolute breeze to move my site over to. However, I have a scenario as follows:
+ course
- _slug
- _part.vue
I end up with the path:
/course/nuxt-is-awesome/introduction
I’d like to be able to:
this.$router.push({ params: { part: 'next-part' } })
and not have the page completely re-render. Instead, I’d like to add a watcher to the route param and just update the Vuex store, using:
watch: {
'$route.params.part' (part) {
// ...
}
}
The way I’ve achieved this currently is using a query string, e.g. ?part=introduction, and then pushing to the query string (which does not re-render) and then watching the query string to do the above.
Is this possible?