Cannot read property 'use' of undefined
shaunpitt opened this issue · 1 comments
shaunpitt commented
So i installed via NPM -
npm install vuejs-datatable
Added
import Vue from 'vue';
import DatatableFactory from 'vuejs-datatable';
Vue.use(DatatableFactory);
and i get this error - no idea why.
at eval (vuejs-datatable.js?b015:1)
at Object.eval (vuejs-datatable.js?b015:1)
at eval (vuejs-datatable.js?b015:2)
at Object. (build.js:3830)
at webpack_require (build.js:679)
at fn (build.js:89)
at eval (main.js?3479:1)
at Object. (build.js:2769)
at webpack_require (build.js:679)
at fn (build.js:89)