bootstrap-datepicker icon indicating copy to clipboard operation
bootstrap-datepicker copied to clipboard

install with webpack ?

Open imajim opened this issue 3 years ago • 1 comments

hello,

anyone install bootstrap datepicker with webpack ? i don's found a documentation

thx ^^

imajim avatar Dec 13 '21 16:12 imajim

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();

rgyph avatar Dec 22 '21 17:12 rgyph