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:
5555 They *key * part is ``addEntry() ``: this tells Encore to load the ``assets/js/app.js ``
5656file and follow *all * of the ``require `` statements. It will then package everything
5757together 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.
5959
6060.. _encore-build-assets :
6161
@@ -158,8 +158,8 @@ To import values, use ``import``:
158158 // assets/js/app.js
159159 - var $ = require('jquery');
160160 + import $ from 'jquery';
161-
162- - require('../css/app.css');
161+
162+ - require('../css/app.css');
163163 + import '../css/app.css';
164164
165165 .. _multiple-javascript-entries :
You can’t perform that action at this time.
0 commit comments