Open hannesaasamets opened 3 years ago
Please feel free to send a PR
Le mer. 30 sept. 2020 à 07:47, hannesaasamets notifications@github.com 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 .
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
Any chance on making this directive SSR compliant? That would mean handling all the cases where
window
is accessed.