Before I used vue router, I did something like this...
data: function() { return { route: window.location.hash, page: 'home' }},watch: { route: function(){ this.page = window.location.hash.split("#/")[1]; }}