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