Skip to content

Commit d2076ad

Browse files
committed
minor README fixes
1 parent b96cfc4 commit d2076ad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ front-end:
8282

8383
.. code-block:: terminal
8484
85-
$ yarn add jquery bootstrap-sass
85+
$ yarn add jquery bootstrap-sass --dev
8686
8787
Then, require those JavaScript/Sass modules from your own files:
8888

@@ -95,8 +95,8 @@ Then, require those JavaScript/Sass modules from your own files:
9595
9696
.. code-block:: js
9797
98-
// app/Resources/assets/ks/app.js
99-
require('jquery');
98+
// app/Resources/assets/js/app.js
99+
const $ = require('jquery');
100100
require('bootstrap-saas');
101101
102102
// ...add here your own application JavaScript code
@@ -292,7 +292,7 @@ activate the ``json_manifest_file`` versioning strategy in ``config.yml``:
292292
# ...
293293
assets:
294294
# 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'
296296
297297
That's it! Just be sure to wrap each path in the Twig ``asset()`` function
298298
like normal:

0 commit comments

Comments
 (0)