@@ -17,7 +17,7 @@ Installing Symfony UX
17
17
---------------------
18
18
19
19
Before you install any specific UX library, make sure you've installed
20
- :doc: `Webpack Encore </frontend/encore/installation> `.
20
+ :doc: `Webpack Encore </frontend/encore/installation >`.
21
21
22
22
If you already have it installed, make sure you have an
23
23
``assets/bootstrap.js `` file (this initializes Stimulus & the UX packages),
@@ -67,7 +67,7 @@ of being downloaded, points directly to files that already live in your ``vendor
67
67
directory.
68
68
69
69
The Flex recipe will usually also update your ``assets/controllers.json `` file
70
- to add a new Stimulus controller into your app. For example:
70
+ to add a new Stimulus controller to your app. For example:
71
71
72
72
.. code-block :: json
73
73
@@ -83,11 +83,11 @@ to add a new Stimulus controller into your app. For example:
83
83
"entrypoints" : []
84
84
}
85
85
86
- Finally, your ``assets/bootstrap.js `` file - working with the `@symfony/stimulus-bridge `_
86
+ Finally, your ``assets/bootstrap.js `` file - working with the `@symfony/stimulus-bridge `_ -
87
87
package will automatically register:
88
88
89
- * All files in ``assets/controllers/ `` as Stimulus controllers
90
- * And all controllers described in ``assets/controllers.json ``.
89
+ * All files in ``assets/controllers/ `` as Stimulus controllers;
90
+ * And all controllers described in ``assets/controllers.json `` as Stimulus controllers .
91
91
92
92
The end result: you install a package, and you instantly have a Stimulus
93
93
controller available! In this example, it's called
@@ -134,12 +134,12 @@ To make a third-party controller lazy, in ``assets/controllers.json``, set
134
134
More Advanced Setup
135
135
-------------------
136
136
137
- To learn about more advanced options, read about `@symfony- stimulus-bridge `_,
137
+ To learn about more advanced options, read about `@symfony/ stimulus-bridge `_,
138
138
the Node package that is responsible for a lot of the magic.
139
139
140
140
.. _`Chart.js` : https://www.chartjs.org/
141
141
.. _`UX Chart.js` : https://symfony.com/bundles/ux-chartjs/current/index.html
142
142
.. _`Stimulus` : https://stimulus.hotwired.dev/
143
- .. _`@symfony- stimulus-bridge` : https://github.com/symfony/stimulus-bridge
143
+ .. _`@symfony/ stimulus-bridge` : https://github.com/symfony/stimulus-bridge
144
144
.. _`stimulus-use` : https://stimulus-use.github.io/stimulus-use
145
145
.. _`stimulus-components` : https://stimulus-components.netlify.app/
0 commit comments