Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSR usage and implementation details #296

Open
benmccann opened this issue Sep 8, 2020 · 0 comments
Open

SSR usage and implementation details #296

benmccann opened this issue Sep 8, 2020 · 0 comments

Comments

@benmccann
Copy link

The readme says the plugin is SSR Friendly, but I was wondering if you could give some more details about that.

Is there anything I would need to do to configure a project to use this plugin with SSR?

I would expect that things like document.createElement would fail on the server since the DOM isn't available to provide document:

'var linkTag = document.createElement("link");',

Is there another code path that gets run on the server?

I have tried looking through past issues for more details, but haven't been able to find out more yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant