Skip to content

Commit e9d9835

Browse files
committed
minor #9980 Popper js is required (Etilawin)
This PR was submitted for the 4.1 branch but it was squashed and merged into the 3.4 branch instead (closes #9980). Discussion ---------- Popper js is required If you don't add popper js you will probably have the following message while compiling with yarn This dependency was not found: * popper.js in ./node_modules/bootstrap/dist/js/bootstrap.js <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- a09797a Popper js is required
2 parents baa76dc + a09797a commit e9d9835

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/encore/bootstrap.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +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, so make sure you have this installed:
40+
Bootstrap JavaScript requires jQuery and Popper.js, so make sure you have this installed:
4141

4242
.. code-block:: terminal
4343
4444
$ yarn add jquery --dev
45+
$ yarn add popper.js --dev
4546
4647
Next, make sure to call ``.autoProvidejQuery()`` in your ``webpack.config.js`` file:
4748

0 commit comments

Comments
 (0)