Uncaught Error:Bootstrap's JavaScript requires jQuery

created at 07-05-2021 views: 18

Error description

Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4

error message

Reason Analysis



method 1

When introducing the js file, the version I introduced was 1.8.3, which is too low, just change to a higher version.
Such as:


method 2

Before introducing bootstrap, you need to introduce jquery. Because bootstrap depends on jquery.

created at:07-05-2021
edited at: 07-05-2021: