Skip to content

Commit e8a76fa

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: Distinct Bootstrap jQuery requirement
2 parents bc1d579 + f408efa commit e8a76fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/encore/bootstrap.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ file into ``global.scss``. You can even customize the Bootstrap variables first!
3737
Importing Bootstrap JavaScript
3838
------------------------------
3939

40-
Bootstrap JavaScript requires jQuery and Popper.js, so make sure you have this installed:
40+
First, install the JavaScript dependencies required by the Bootstrap version
41+
used in your application:
4142

4243
.. code-block:: terminal
4344
45+
// jQuery is only required in versions prior to Bootstrap 5
4446
$ yarn add jquery popper.js --dev
4547
4648
Now, require bootstrap from any of your JavaScript files:

0 commit comments

Comments
 (0)