File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ front-end:
82
82
83
83
.. code-block :: terminal
84
84
85
- $ yarn add jquery bootstrap-sass
85
+ $ yarn add jquery bootstrap-sass --dev
86
86
87
87
Then, require those JavaScript/Sass modules from your own files:
88
88
@@ -95,8 +95,8 @@ Then, require those JavaScript/Sass modules from your own files:
95
95
96
96
.. code-block:: js
97
97
98
- // app/Resources/assets/ks /app.js
99
- require('jquery');
98
+ // app/Resources/assets/js /app.js
99
+ const $ = require('jquery');
100
100
require('bootstrap-saas ');
101
101
102
102
// ...add here your own application JavaScript code
@@ -292,7 +292,7 @@ activate the ``json_manifest_file`` versioning strategy in ``config.yml``:
292
292
# ...
293
293
assets :
294
294
# feature is supported in Symfony 3.3 and higher
295
- json_manifest_path : ' %kernel.project_dir%/build/manifest.json'
295
+ json_manifest_path : ' %kernel.project_dir%/web/ build/manifest.json'
296
296
297
297
That's it! Just be sure to wrap each path in the Twig ``asset() `` function
298
298
like normal:
You can’t perform that action at this time.
0 commit comments