This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Accessing globals from pre-rendering #253
Closed
Description
Hi,
I've followed the steps in the documentation to put server prerendered data into an Angular 2 application.
However, even though I can see that the data is available in the window (through the console), components can't seem to access the window like in the example i.e. window.userData
. When this is attempted the application complains saying that the window is not defined
.
Are we meant to access the pre-rendered data in another way?
Metadata
Metadata
Assignees
Labels
No labels