import { Store } from '@/store/root' ; function _stateScope ( state ) { return state . middleware . router ; } function location ( state ) { return _stateScope ( state ) . location ; } export default { location , } ;