uxsolutions / bootstrap-datepicker

A datepicker for twitter bootstrap (@twbs)
Apache License 2.0
12.66k stars 6.08k forks source link

Documentation not clear that bootstrap-datepicker requires its own set of js/css files #2170

Open RevealedFrom opened 7 years ago

RevealedFrom commented 7 years ago

Expected behaviour

First a big thank you to all the people behind this great plug-in.

Actual behaviour

https://bootstrap-datepicker.readthedocs.io/en/latest/ says Requirements are Bootstrap and jQuery. It gives the impression that these are all that are needed.

Readme.md started with with CDN for bootstrap-datepicker, but no mention of which files are required for what. Is that css.map file required?

Datepicker version used

1.6.4

Example code

It would help newer or non-full time developers by mentioning that bootstrap-datepicker is an additional plug-in to bootstrap and requires the following (bootstrap-datepicker) files to be added to your web page:

<link .... <script src= ...

redochka commented 7 years ago

Also please describe the difference between standalone vs non standalone css ..

acrobat commented 7 years ago

@redochka that part is already described here: https://bootstrap-datepicker.readthedocs.io/en/latest/index.html#stylesheets