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

Directive not SSR compliant #75

Open
hannesaasamets opened this issue Sep 30, 2020 · 2 comments
Open

Directive not SSR compliant #75

hannesaasamets opened this issue Sep 30, 2020 · 2 comments

Comments

@hannesaasamets
Copy link

Any chance on making this directive SSR compliant? That would mean handling all the cases where window is accessed.

@donmbelembe
Copy link
Owner

donmbelembe commented Sep 30, 2020 via email

@super-kamil
Copy link

Same problem here. Unusable in (production) SSR environments. Throws very strange error

[Vue warn]: Failed to resolve async component: () => __webpack_require__.e(/*! import() */ 86).then(__webpack_require__.bind(null, /*! ./cms/elements/XXX */ "./cms/elements/XXX.vue"))
Reason: ReferenceError: self is not defined

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

3 participants