{"action":"created","issue":{"url":"https://api.github.com/repos/declandewet/vue-meta/issues/42","repository_url":"https://api.github.com/repos/declandewet/vue-meta","labels_url":"https://api.github.com/repos/declandewet/vue-meta/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/declandewet/vue-meta/issues/42/comments","events_url":"https://api.github.com/repos/declandewet/vue-meta/issues/42/events","html_url":"https://github.com/declandewet/vue-meta/issues/42","id":197452602,"number":42,"title":"Doesn't work with vue-router + ssr","user":{"login":"mehwww","id":5417556,"avatar_url":"https://avatars.githubusercontent.com/u/5417556?v=3","gravatar_id":"","url":"https://api.github.com/users/mehwww","html_url":"https://github.com/mehwww","followers_url":"https://api.github.com/users/mehwww/followers","following_url":"https://api.github.com/users/mehwww/following{/other_user}","gists_url":"https://api.github.com/users/mehwww/gists{/gist_id}","starred_url":"https://api.github.com/users/mehwww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehwww/subscriptions","organizations_url":"https://api.github.com/users/mehwww/orgs","repos_url":"https://api.github.com/users/mehwww/repos","events_url":"https://api.github.com/users/mehwww/events{/privacy}","received_events_url":"https://api.github.com/users/mehwww/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-24T07:23:58Z","updated_at":"2016-12-29T06:46:54Z","closed_at":"2016-12-29T06:46:54Z","body":"It seems before the vue root instance `mounted`, its `$children` will be an empty array, so `getComponentOption` won't work properly cause we don't 'mount' instance in server side.\r\n\r\nAnyone has the same issue ?"},"comment":{"url":"https://api.github.com/repos/declandewet/vue-meta/issues/comments/269589051","html_url":"https://github.com/declandewet/vue-meta/issues/42#issuecomment-269589051","issue_url":"https://api.github.com/repos/declandewet/vue-meta/issues/42","id":269589051,"user":{"login":"mehwww","id":5417556,"avatar_url":"https://avatars.githubusercontent.com/u/5417556?v=3","gravatar_id":"","url":"https://api.github.com/users/mehwww","html_url":"https://github.com/mehwww","followers_url":"https://api.github.com/users/mehwww/followers","following_url":"https://api.github.com/users/mehwww/following{/other_user}","gists_url":"https://api.github.com/users/mehwww/gists{/gist_id}","starred_url":"https://api.github.com/users/mehwww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehwww/subscriptions","organizations_url":"https://api.github.com/users/mehwww/orgs","repos_url":"https://api.github.com/users/mehwww/repos","events_url":"https://api.github.com/users/mehwww/events{/privacy}","received_events_url":"https://api.github.com/users/mehwww/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T06:46:54Z","updated_at":"2016-12-29T06:46:54Z","body":"Sorry it's my mistake using this lib wrong way. 😔\r\n\r\nmy code:\r\n```javascript\r\nconst context = {url}\r\nconst renderStream = renderer.renderToStream(context)\r\nconst html = ((meta) => ...)(context.meta.inject())\r\n\r\nrenderStream.on('data', () => ...)\r\n```\r\n\r\ncorrect way:\r\n```javascript\r\nconst context = {url}\r\nconst renderStream = renderer.renderToStream(context)\r\nlet html\r\n\r\nrenderStream.once('data', () => html = ((meta) => ...)(context.meta.inject()))\r\nrenderStream.on('data', () => ...)\r\n```\r\n\r\n@fenivana Maybe you meet some real bug but I will close this issue now."}}
{"actor":{"display_login":"mehwww"}}