mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Update bootstrap-theme.rst
This commit is contained in:
parent
573052777a
commit
24148df10a
1 changed files with 8 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ In the ``config/packages/assets.yaml`` add:
|
|||
bootstrapTheme:
|
||||
json_manifest_path: '%kernel.project_dir%/public/bootstrap-theme/manifest.json'
|
||||
|
||||
and in the ``config/packages/webpack_encore.yaml`` add:
|
||||
in the ``config/packages/webpack_encore.yaml`` add:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
|
|
@ -129,6 +129,13 @@ and in the ``config/packages/webpack_encore.yaml`` add:
|
|||
builds:
|
||||
bootstrapTheme: '%kernel.project_dir%/public/bootstrap-theme'
|
||||
|
||||
finally in the ``config/packages/_sylius.yaml`` add:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
sylius_theme:
|
||||
legacy_mode: true # for sylius 1.9, 1.10, 1.11, 1.12
|
||||
|
||||
Now you can use one of the commands ``yarn encore dev``, ``yarn encore production`` or ``yarn encore dev-server``
|
||||
to compile all assets. Open the page - everything should work.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue