We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99a5748 commit f408efaCopy full SHA for f408efa
frontend/encore/bootstrap.rst
@@ -37,11 +37,12 @@ file into ``global.scss``. You can even customize the Bootstrap variables first!
37
Importing Bootstrap JavaScript
38
------------------------------
39
40
-Bootstrap JavaScript requires Popper.js. Prior to Bootstrap 5, jQuery is required too.
41
-Make sure you have this installed:
+First, install the JavaScript dependencies required by the Bootstrap version
+used in your application:
42
43
.. code-block:: terminal
44
45
+ // jQuery is only required in versions prior to Bootstrap 5
46
$ yarn add jquery popper.js --dev
47
48
Now, require bootstrap from any of your JavaScript files:
0 commit comments