File tree Expand file tree Collapse file tree 1 file changed +28
-3
lines changed Expand file tree Collapse file tree 1 file changed +28
-3
lines changed Original file line number Diff line number Diff line change 1- The Symfony UX Initiative & Packages
2- ====================================
1+ Stimulus & Symfony UX
2+ =====================
33
44.. tip ::
55
@@ -17,8 +17,33 @@ your page.
1717Installing 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+
2045Before you install any specific UX library, make sure you've installed
21- :doc: ` Webpack Encore < /frontend/encore/installation >`.
46+
2247
2348If you already have it installed, make sure you have an
2449``assets/bootstrap.js `` file (this initializes Stimulus & the UX packages),
You can’t perform that action at this time.
0 commit comments