Closed sebastianjung closed 4 years ago
Catching those 'window' Objects withif (typeof window !== 'undefined')
already helped for me though i am not sure if that is the right way to do it.
Hey @sebastianjung. Your solution is correct. Thanks
Simple way:
components: {
...
FunctionalCalendar: () => process.client ? import('vue-functional-calendar/src/components/FunctionalCalendar.vue') : null,
...
},
Hey thanks for contributing this plugin to the community.
Would it be possible to add SSR Support for like Nuxt for example?
Problem is, that its looking for a window object which is not available on SSR:
"window is not defined"
Great Plugin though!