Open Octania opened 8 years ago
I am unable to call or instantiate the date picker using Require JS: How can I use this with Require JS?
$(function() { $('#e2').daterangepicker({ datepickerOptions: { numberOfMonths: 2 } }); });
Like this:
require(['jquery', 'jquery-ui', 'moment', 'comiseo.daterangepicker'], function ($, moment) {
});
Is somebody solved this problem ?
I solved this problem, and this is example. https://github.com/MartinYounghoonKim/requirejs-moment-compatibility-env
I am unable to call or instantiate the date picker using Require JS: How can I use this with Require JS?
Like this:
require(['jquery', 'jquery-ui', 'moment', 'comiseo.daterangepicker'], function ($, moment) {
});