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

Support SSR? #14

Open
i0rph opened this issue Sep 9, 2019 · 1 comment
Open

Support SSR? #14

i0rph opened this issue Sep 9, 2019 · 1 comment
Assignees

Comments

@i0rph
Copy link

i0rph commented Sep 9, 2019

when I use this package with Nuxt.js (vue.js framework), it throws error as ReferenceError: window is not defined.
is there anyway to use this package on SSR environment?

@guoyunhe
Copy link
Owner

guoyunhe commented Sep 9, 2019

Virtual DOM layer is required to do SSR. (using React/Vue/Angular) This implementation doesn't have such capability.

To do so, I have to rewrite it with some kind of framework. (using React/Vue/Angular)

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

No branches or pull requests

2 participants