Closed ndabAP closed 6 years ago
@ndabAP Did you miss template in your sub components? The error line should be this.$el.style.fontSize = (0.04 * Math.min(height, width)) + 'px'
in Slideshow.vue
, and it's because this.$el
is not set
Hey @yaodingyd and thanks a lot for your answer. Please check my project:
https://github.com/ndabAP/Single-page-applications-presentation/tree/master/src
There is also an online version:
https://ndabap.github.io/Single-page-applications-presentation/#/
@ndabAP You need to wrap another div
around your slide
in SinglePageApplicationsToday.vue
.
This is also a bug.
@Zulko for Slide
property active
is set default to false
, so beforeMount
a Slideshow
would render nothing back , and $el
would be undefined
. To fix this, wrap Slide
template with a div.
@yaodingyd, that worked indeed. But since it's an error I let the issue open.
@Zulko this issue can be closed after #26.
Thanks !
When I'm trying to organize my slides into sub components I get this error: