{"action":"created","issue":{"url":"https://api.github.com/repos/chrisvfritz/prerender-spa-plugin/issues/249","repository_url":"https://api.github.com/repos/chrisvfritz/prerender-spa-plugin","labels_url":"https://api.github.com/repos/chrisvfritz/prerender-spa-plugin/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/chrisvfritz/prerender-spa-plugin/issues/249/comments","events_url":"https://api.github.com/repos/chrisvfritz/prerender-spa-plugin/issues/249/events","html_url":"https://github.com/chrisvfritz/prerender-spa-plugin/issues/249","id":357595926,"node_id":"MDU6SXNzdWUzNTc1OTU5MjY=","number":249,"title":"Dynamic data not rendering","user":{"login":"lz82","id":39956694,"node_id":"MDQ6VXNlcjM5OTU2Njk0","avatar_url":"https://avatars1.githubusercontent.com/u/39956694?v=4","gravatar_id":"","url":"https://api.github.com/users/lz82","html_url":"https://github.com/lz82","followers_url":"https://api.github.com/users/lz82/followers","following_url":"https://api.github.com/users/lz82/following{/other_user}","gists_url":"https://api.github.com/users/lz82/gists{/gist_id}","starred_url":"https://api.github.com/users/lz82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lz82/subscriptions","organizations_url":"https://api.github.com/users/lz82/orgs","repos_url":"https://api.github.com/users/lz82/repos","events_url":"https://api.github.com/users/lz82/events{/privacy}","received_events_url":"https://api.github.com/users/lz82/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-06T10:36:45Z","updated_at":"2018-09-08T17:04:38Z","closed_at":null,"author_association":"NONE","body":"# prerender-spa-plugin 3.x webpack 4.x\r\n\r\nafter all the other issues about `dynamic data`,`request data`,`dynamic content`, e.g [#178](https://github.com/chrisvfritz/prerender-spa-plugin/issues/178) i still can't slove my problem..\r\n\r\n[my code](https://github.com/lz82/vue-prerender-demo.git)\r\n\r\n# webpack.config\r\n``` javascript\r\nnew PrerenderSpaPlugin({\r\n    staticDir: path.resolve(__dirname, '../dist'),\r\n    routes: ['', '/home', '/about'],\r\n    render: new Renderer({\r\n      renderAfterTime: 5000,\r\n      headless: true,\r\n      renderAfterDocumentEvent: 'render-event'\r\n    })\r\n  })\r\n```\r\n\r\n# page code\r\n``` javascript\r\nmounted () {\r\n      // this.$nextTick(() => {\r\n        axios.get('https://api.github.com/users/lz82')\r\n        .then(res => {\r\n          this.pic = res.data.avatar_url\r\n          this.url = res.data.url\r\n          this.$nextTick(() => {\r\n            document.dispatchEvent(new Event('render-event'))\r\n          })\r\n        })\r\n      // })\r\n    }\r\n```\r\n\r\n# dist file\r\nbut there is only container is static html file but not dynamic data.\r\n``` html\r\n <div id=\"app\"><div data-v-68d85562=\"\" class=\"container\"><img data-v-68d85562=\"\" src=\"\" alt=\"\">\r\n  url:\r\n</div></div>\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/chrisvfritz/prerender-spa-plugin/issues/comments/419658002","html_url":"https://github.com/chrisvfritz/prerender-spa-plugin/issues/249#issuecomment-419658002","issue_url":"https://api.github.com/repos/chrisvfritz/prerender-spa-plugin/issues/249","id":419658002,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTY1ODAwMg==","user":{"login":"DimaFromCanada","id":11423376,"node_id":"MDQ6VXNlcjExNDIzMzc2","avatar_url":"https://avatars1.githubusercontent.com/u/11423376?v=4","gravatar_id":"","url":"https://api.github.com/users/DimaFromCanada","html_url":"https://github.com/DimaFromCanada","followers_url":"https://api.github.com/users/DimaFromCanada/followers","following_url":"https://api.github.com/users/DimaFromCanada/following{/other_user}","gists_url":"https://api.github.com/users/DimaFromCanada/gists{/gist_id}","starred_url":"https://api.github.com/users/DimaFromCanada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DimaFromCanada/subscriptions","organizations_url":"https://api.github.com/users/DimaFromCanada/orgs","repos_url":"https://api.github.com/users/DimaFromCanada/repos","events_url":"https://api.github.com/users/DimaFromCanada/events{/privacy}","received_events_url":"https://api.github.com/users/DimaFromCanada/received_events","type":"User","site_admin":false},"created_at":"2018-09-08T17:04:38Z","updated_at":"2018-09-08T17:04:38Z","author_association":"NONE","body":"Same problem here"}}
{"actor":{"display_login":"DimaFromCanada"}}