Skip to content

Commit 4c34e05

Browse files
authored
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.
1 parent 7827769 commit 4c34e05

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)