File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ of your project. It already holds the basic config you need:
55
55
They *key * part is ``addEntry() ``: this tells Encore to load the ``assets/js/app.js ``
56
56
file and follow *all * of the ``require `` statements. It will then package everything
57
57
together and - thanks to the first ``app `` argument - output final ``app.js `` and
58
- ``app.css `` files into the ``public /build `` directory.
58
+ ``app.css `` files into the ``web /build `` directory.
59
59
60
60
.. _encore-build-assets :
61
61
@@ -158,8 +158,8 @@ To import values, use ``import``:
158
158
// assets/js/app.js
159
159
- var $ = require('jquery');
160
160
+ import $ from 'jquery';
161
-
162
- - require('../css/app.css');
161
+
162
+ - require('../css/app.css');
163
163
+ import '../css/app.css';
164
164
165
165
.. _multiple-javascript-entries :
You can’t perform that action at this time.
0 commit comments