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
+ =====================
3
3
4
4
.. tip ::
5
5
@@ -17,8 +17,33 @@ your page.
17
17
Installing Symfony UX
18
18
---------------------
19
19
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
+
20
45
Before you install any specific UX library, make sure you've installed
21
- :doc: ` Webpack Encore < /frontend/encore/installation >`.
46
+
22
47
23
48
If you already have it installed, make sure you have an
24
49
``assets/bootstrap.js `` file (this initializes Stimulus & the UX packages),
You can’t perform that action at this time.
0 commit comments