Skip to content

Commit e555009

Browse files
committed
minor #10356 [Front-end] Change public folder to web for 3.4 (royklutman)
This PR was merged into the 3.4 branch. Discussion ---------- [Front-end] Change public folder to web for 3.4 As there is no `public` folder in 3.4, changed to `web`. Commits ------- 048c706 Change the public folder to web for 3.4
2 parents 629ea47 + 048c706 commit e555009

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/encore/simple-example.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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``
5656
file and follow *all* of the ``require`` statements. It will then package everything
5757
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.
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:

0 commit comments

Comments
 (0)