94
rated 0 times
[
98]
[
4]
/ answers: 1 / hits: 15436
/ 7 Years ago, sun, january 29, 2017, 12:00:00
i have created Vuejs app using vue-loader,now i need to use an installed npm package as follow :
var x = require('package-name')
Vue.use(x)
but i have this error :
Uncaught TypeError: plugin.apply is not a function
dose Vuejs require a special type packages or it can work with any JavaScript package and this error can be solved
More From » vue.js