bootstrap-datepicker
bootstrap-datepicker copied to clipboard
install with webpack ?
hello,
anyone install bootstrap datepicker with webpack ? i don's found a documentation
thx ^^
Yes. You need to import the installed library into your script (and possibly locale) and you can use the datepicker as usual.
import 'bootstrap-datepicker';
import 'bootstrap-datepicker/js/locales/bootstrap-datepicker.ru';
$('.datepicker').datepicker();