SSENSE/vue-carousel

Feature Request: add server side rendering (Nuxt.js) to vue-carousel

Offen

#81 geöffnet am 29.08.2017

 (37 Kommentare) (7 Reaktionen) (0 zugewiesene Personen)JavaScript (513 Forks)batch import
featurehelp wanted

Repository-Metriken

Stars
 (1.705 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Newbie. I had vue-carousel running great prior to an update, in nuxt I think. Now it simply won't work.

Running vue-carousel locally in component, Terminal: `[Vue warn]: Error in beforeCreate hook: "ReferenceError: document is not defined"

found in

---> at components/CarouselShow.vue <Pages/index.vue> at pages/index.vue at .nuxt/components/nuxt.vue at layouts/default.vue

` And I guess it is in a loop, because Chrome keeps spinning and eventually I get the dialog box "Do you wish to kill process?"

If I run vue-carousel globally I do not get the warning, but my Slides are static and all Slides show up on the page at once.

Help much appreciated.

Contributor Guide