I'm trying to import fullcalendar into a project, I'm using gulp to automate imports. But when I put the path to import fullcalendar I come across this error in the console:
fullcalendar.min.js: 6Uncaught TypeError: Can not read property 'push' of undefined
What could be the problem?
File% of gulp
:
elixir(function(mix) {
mix.styles([
'./resources/assets/css/app.css',
'./bower_components/fullcalendar/dist/fullcalendar.print.min.css',
'./bower_components/fullcalendar/dist/fullcalendar.min.css',
]);
mix.scripts([
'./bower_components/jquery/dist/jquery.min.js',
'./node_modules/angular/angular.min.js',
'./resources/assets/js/mask.js',
'./bower_components/fullcalendar/dist/fullcalendar.min.js',
'./resources/assets/js/app.js'
]);
});