Skip to content

Commit d5102d2

Browse files
committed
wip
1 parent 5e68a2a commit d5102d2

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

frontend/ux.rst

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
The Symfony UX Initiative & Packages
2-
====================================
1+
Stimulus & Symfony UX
2+
=====================
33

44
.. tip::
55

@@ -17,8 +17,33 @@ your page.
1717
Installing Symfony UX
1818
---------------------
1919

20+
To install Symfony UX, either install :doc:`Webpack Encore </frontend/encore/installation>`
21+
or :doc:`Asset Mapper </frontend/asset-mapper>` - see
22+
:doc:`Encore vs AssetMapper </frontend>` to
23+
learn which is best for your project.
24+
25+
Once that's set up, run:
26+
27+
.. code-block:: terminal
28+
29+
$ composer require symfony/stimulus-bundle
30+
31+
The last steps depend on which asset management tool you chose:
32+
33+
.. tabs::
34+
35+
.. group-tab:: Webpack Encore
36+
37+
Webpack Encore stuff!
38+
39+
.. group-tab:: AssetMapper
40+
41+
AssetMapper stuff!
42+
43+
Then, install any of the UX packages listed below. For example, to install
44+
2045
Before you install any specific UX library, make sure you've installed
21-
:doc:`Webpack Encore </frontend/encore/installation>`.
46+
2247

2348
If you already have it installed, make sure you have an
2449
``assets/bootstrap.js`` file (this initializes Stimulus & the UX packages),

0 commit comments

Comments
 (0)