Is it possible to trigger a mutation in the store every time the route changes, without relying on a Vuex plugin to detect route/
mutations?
This scenario involves using vuex
, nuxt
, vue-router
, and vue-router-sync
.
Clarification: I am attempting to commit the mutation to a different part of the store, not just the route
segment.
There are many inquiries about the opposite situation, but this question pertains to a unique scenario, so please consider this before marking it as a duplicate ;).