{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue-router/issues/260","labels_url":"https://api.github.com/repos/vuejs/vue-router/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-router/issues/260/comments","events_url":"https://api.github.com/repos/vuejs/vue-router/issues/260/events","html_url":"https://github.com/vuejs/vue-router/issues/260","id":119809625,"number":260,"title":"Event does not propagate through router on dispatch","user":{"login":"perkola","id":4265109,"avatar_url":"https://avatars.githubusercontent.com/u/4265109?v=3","gravatar_id":"","url":"https://api.github.com/users/perkola","html_url":"https://github.com/perkola","followers_url":"https://api.github.com/users/perkola/followers","following_url":"https://api.github.com/users/perkola/following{/other_user}","gists_url":"https://api.github.com/users/perkola/gists{/gist_id}","starred_url":"https://api.github.com/users/perkola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perkola/subscriptions","organizations_url":"https://api.github.com/users/perkola/orgs","repos_url":"https://api.github.com/users/perkola/repos","events_url":"https://api.github.com/users/perkola/events{/privacy}","received_events_url":"https://api.github.com/users/perkola/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-01T21:15:31Z","updated_at":"2015-12-03T18:03:40Z","closed_at":null,"body":"I have a Vue instance that listens for an event and a router bound to it like so:\r\n```\r\n<div id=\"app\">\r\n    <router-view></router-view>\r\n</div>\r\n```\r\nand on a route i have a child component that dispatches an event via `this.$dispatch('message', 'Test message');`. Without the router in between the event propagates properly from the child component to the parent Vue instance but with the router the message is never received at the parent. Why?"},"comment":{"url":"https://api.github.com/repos/vuejs/vue-router/issues/comments/161733789","html_url":"https://github.com/vuejs/vue-router/issues/260#issuecomment-161733789","issue_url":"https://api.github.com/repos/vuejs/vue-router/issues/260","id":161733789,"user":{"login":"azamat-sharapov","id":3023661,"avatar_url":"https://avatars.githubusercontent.com/u/3023661?v=3","gravatar_id":"","url":"https://api.github.com/users/azamat-sharapov","html_url":"https://github.com/azamat-sharapov","followers_url":"https://api.github.com/users/azamat-sharapov/followers","following_url":"https://api.github.com/users/azamat-sharapov/following{/other_user}","gists_url":"https://api.github.com/users/azamat-sharapov/gists{/gist_id}","starred_url":"https://api.github.com/users/azamat-sharapov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azamat-sharapov/subscriptions","organizations_url":"https://api.github.com/users/azamat-sharapov/orgs","repos_url":"https://api.github.com/users/azamat-sharapov/repos","events_url":"https://api.github.com/users/azamat-sharapov/events{/privacy}","received_events_url":"https://api.github.com/users/azamat-sharapov/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T18:03:40Z","updated_at":"2015-12-03T18:03:40Z","body":"It's working for me: http://jsfiddle.net/0brxezmj/16/\r\n\r\n_Make sure you provide clean and **working** fiddle next time, so one does not have to spend time to clean your code to actually make it run_."}}