vuex-router-sync
vuex-router-sync copied to clipboard
Don`t commit to vuex for failure transition
Third argument in router hook may has Error for rollback transition. If transition is not success, that router state not changed (revert). Add prevent commit to vuex store for this case.