Closed GrofGraf closed 7 years ago
Hi Grof,
First, a jsfiddle would always be much helpful.
Secondly It seems something was going wrong with SSR and I haven't test this project on server side yet. So, if you just want to figure out how fullcalendar works, you can directly download the whole project and type npm run dev
to see the demo
Thank you very much for your tip. Will try to play a bit with your code.
@GrofGraf any updates on this?
for anyone else who's stuck on this. see this solution: https://github.com/nuxt/nuxt.js/issues/30#issuecomment-264348589
Vue-FullCalendar app/plugins/vue-fullcalendar.js
import Vue from 'vue'
if (process.BROWSER_BUILD) {
window.onNuxtReady(() => {
const VueFullCalendar = require('vue-fullcalendar')
Vue.use(VueFullCalendar)
})
}
If i try to import fullCalendar in my .vue file, server starts normally, but when I navigate to localhost I get the following error:
Do you have any idea, what am I doing wrong? Some guidance would be much appreciated. I am just starting with vue and have some problems figuring out SSR. Did some basic examples, now I am trying these in practice.