8000
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ on your page before any other JavaScript file:
32
32
.. code-block :: twig
33
33
34
34
<!-- these two files now must be included in every page -->
35
- <script src="{{ asset('build/manifest.js ') }}"></script>
35
+ <script src="{{ asset('build/manifest.json ') }}"></script>
36
36
<script src="{{ asset('build/vendor.js') }}"></script>
37
37
38
38
<!-- here you link to the specific JS files needed by the current page -->
@@ -42,7 +42,7 @@ on your page before any other JavaScript file:
42
42
<link rel="stylesheet" href="{{ asset('build/vendor.css') }}" />
43
43
44
44
The ``vendor.js `` file contains all the common code that has been extracted from
45
- the other files, so it's obvious that it must be included. The other file (``manifest.js ``)
45
+ the other files, so it's obvious that it must be included. The other file (``manifest.json ``)
46
46
is less obvious: it's needed so that Webpack knows how to load those shared modules.
47
47
48
48
.. tip ::
You can’t perform that action at this time.
0 commit comments