vue-dragscroll icon indicating copy to clipboard operation
vue-dragscroll copied to clipboard

Directive not SSR compliant

Open hannesaasamets opened this issue 3 years ago • 2 comments

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

hannesaasamets avatar Sep 30 '20 06:09 hannesaasamets

Please feel free to send a PR

Le mer. 30 sept. 2020 à 07:47, hannesaasamets [email protected] a écrit :

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/donmbelembe/vue-dragscroll/issues/75, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACP46PILYHS7Y3REOQFTH5TSILIBPANCNFSM4R6WGGPQ .

donmbelembe avatar Sep 30 '20 08:09 donmbelembe

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

super-kamil avatar Jul 13 '22 10:07 super-kamil