{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue-router/issues/114","labels_url":"https://api.github.com/repos/vuejs/vue-router/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-router/issues/114/comments","events_url":"https://api.github.com/repos/vuejs/vue-router/issues/114/events","html_url":"https://github.com/vuejs/vue-router/issues/114","id":104748889,"number":114,"title":".v-link-active seems to be added to routes that match a given pattern, sometimes incorrect","user":{"login":"xsbeats","id":1199655,"avatar_url":"https://avatars.githubusercontent.com/u/1199655?v=3","gravatar_id":"","url":"https://api.github.com/users/xsbeats","html_url":"https://github.com/xsbeats","followers_url":"https://api.github.com/users/xsbeats/followers","following_url":"https://api.github.com/users/xsbeats/following{/other_user}","gists_url":"https://api.github.com/users/xsbeats/gists{/gist_id}","starred_url":"https://api.github.com/users/xsbeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xsbeats/subscriptions","organizations_url":"https://api.github.com/users/xsbeats/orgs","repos_url":"https://api.github.com/users/xsbeats/repos","events_url":"https://api.github.com/users/xsbeats/events{/privacy}","received_events_url":"https://api.github.com/users/xsbeats/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vuejs/vue-router/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-03T17:50:47Z","updated_at":"2015-09-03T19:00:37Z","closed_at":null,"body":"I believe this is an issue, but could be incorrect.  Given `v-link`s with paths `foo` and `foobar`, when `foobar` is visited `foo` is still considered active.\r\n\r\nhttps://jsbin.com/zukinud/edit?html,css,js,output"},"comment":{"url":"https://api.github.com/repos/vuejs/vue-router/issues/comments/137542889","html_url":"https://github.com/vuejs/vue-router/issues/114#issuecomment-137542889","issue_url":"https://api.github.com/repos/vuejs/vue-router/issues/114","id":137542889,"user":{"login":"JosephSilber","id":1403741,"avatar_url":"https://avatars.githubusercontent.com/u/1403741?v=3","gravatar_id":"","url":"https://api.github.com/users/JosephSilber","html_url":"https://github.com/JosephSilber","followers_url":"https://api.github.com/users/JosephSilber/followers","following_url":"https://api.github.com/users/JosephSilber/following{/other_user}","gists_url":"https://api.github.com/users/JosephSilber/gists{/gist_id}","starred_url":"https://api.github.com/users/JosephSilber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JosephSilber/subscriptions","organizations_url":"https://api.github.com/users/JosephSilber/orgs","repos_url":"https://api.github.com/users/JosephSilber/repos","events_url":"https://api.github.com/users/JosephSilber/events{/privacy}","received_events_url":"https://api.github.com/users/JosephSilber/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T19:00:37Z","updated_at":"2015-09-03T19:00:37Z","body":"BTW, can the class name handling be abstracted into a separate directive?\r\n\r\nI find myself wanting to highlight certain elements when a route is matched, but they're not links."}}