Static GitHub Issues

[2295] ' ReferenceError: window is not defined' when importing VueFullCalendar

prev: error generating nested routes in index
next: Looping Routes

I am trying to import VueFullCalendar, but receiving the much know 'window is not defined'. As I understand I need to import the lib as a plugin and SSR off, but unfortunately this is not working.

plugins/vue-fullcalendar.js
import Vue from 'vue'
var fullCalander = require ('vue-fullcalendar')
Vue.component('full-calendar', fullCalendar')
Dialog.vue
import FullCalendar from '~/plugins/vue-fullcalendar'

export default {
  components: {
    'full-calendar': FullCalendar
  }
}
nuxt.config.js
plugins: [
{ src: '~plugins/vue-fullcalendar', ssr: false}
]

<!--cmty--><!--cmty_prevent_hook-->
<div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2008">#c2008</a>)</em></sub></div>