vue access store in router code example Example: how to access router from the store vue import router from '@/router'