Skip to content

Commit ef97920

Browse files
committed
minor #16025 make following jquery example works (scourgen)
This PR was merged into the 5.4 branch. Discussion ---------- make following jquery example works in this section: https://symfony.com/doc/5.4/frontend/encore/simple-example.html#requiring-javascript-modules It's using jquery as example, so we should tell user that they have to enable autoProvidejQuery option to use jquery in following tutorial. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases 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 `5.x` for features of unreleased versions). --> Commits ------- 4c34e05 make following jquery example works
2 parents bb88411 + 4c34e05 commit ef97920

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/encore/simple-example.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ of your project. It already holds the basic config you need:
4343
4444
.addEntry('app', './assets/app.js')
4545
46-
// ...
46+
// Don't forget to uncomment If you want use following JQuery example code
47+
.autoProvidejQuery()
4748
;
4849
4950
// ...

0 commit comments

Comments
 (0)