icai/vue3-calendar

Cannot read property 'root' of undefined

SacDin opened this issue · 3 comments

import Calendar from 'vue-calendar'
VM7796:27 TypeError: Cannot read property 'root' of undefined
    at Proxy.eval (eval at makeFunction (eval at <anonymous> (app.js:604)), <anonymous>:2:45)
    at VueComponent.Vue._render (eval at <anonymous> (app.js:604), <anonymous>:2252:22)
    at VueComponent.eval (eval at <anonymous> (app.js:604), <anonymous>:1699:21)
    at Watcher.get (eval at <anonymous> (app.js:604), <anonymous>:740:27)
    at new Watcher (eval at <anonymous> (app.js:604), <anonymous>:732:12)
    at VueComponent.Vue._mount (eval at <anonymous> (app.js:604), <anonymous>:1698:19)
    at VueComponent.Vue$3.$mount (eval at <anonymous> (app.js:604), <anonymous>:5718:15)
    at VueComponent.Vue$3.$mount (eval at <anonymous> (app.js:604), <anonymous>:7870:16)
    at init (eval at <anonymous> (app.js:604), <anonymous>:1988:11)
    at createElm (eval at <anonymous> (app.js:604), <anonymous>:3867:56)
icai commented

@SacDin Are you sure this case is in this project?

icai commented

@SacDin I cannot find key word vue-calendar in my project, may this issue is caused by your dependencies.

I also let you know that if you would to use this component, just copy the file (https://github.com/icai/vue2-calendar/blob/master/src/components/Calendar.vue) to your project, not all project