Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 92b7cfc

Browse filesBrowse files
committed
minor #20565 [Frontend] Update a table to make it more readable (javiereguiluz)
This PR was merged into the 6.4 branch. Discussion ---------- [Frontend] Update a table to make it more readable Fixes #20556. We shouldn't use tables with long descriptions. Better use descriptions lists, which we already use in most of the docs. Commits ------- a9a37f5 [Frontend] Update a table to make it more readable
2 parents 726d8f4 + a9a37f5 commit 92b7cfc
Copy full SHA for 92b7cfc

File tree

Expand file treeCollapse file tree

1 file changed

+16
-15
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+16
-15
lines changed

‎frontend/create_ux_bundle.rst

Copy file name to clipboardExpand all lines: frontend/create_ux_bundle.rst
+16-15Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -142,21 +142,22 @@ Twig ``stimulus_*`` functions.
142142

143143
Each controller has a number of options in ``package.json`` file:
144144

145-
================== ====================================================================================================
146-
Option Description
147-
================== ====================================================================================================
148-
enabled Whether the controller should be enabled by default.
149-
main Path to the controller file.
150-
fetch How controller & dependencies are included when the page loads.
151-
Use ``eager`` (default) to make controller & dependencies included in the JavaScript that's
152-
downloaded when the page is loaded.
153-
Use ``lazy`` to make controller & dependencies isolated into a separate file and only downloaded
154-
asynchronously if (and when) the data-controller HTML appears on the page.
155-
autoimport List of files to be imported with the controller. Useful e.g. when there are several CSS styles
156-
depending on the frontend framework used (like Bootstrap 4 or 5, Tailwind CSS...).
157-
The value must be an object with files as keys, and a boolean as value for each file to set
158-
whether the file should be imported.
159-
================== ====================================================================================================
145+
``enabled``:
146+
Whether the controller should be enabled by default.
147+
``main``:
148+
Path to the controller file.
149+
``fetch``:
150+
How controller & dependencies are included when the page loads.
151+
Use ``eager`` (default) to make controller & dependencies included in the
152+
JavaScript that's downloaded when the page is loaded.
153+
Use ``lazy`` to make controller & dependencies isolated into a separate file
154+
and only downloaded asynchronously if (and when) the data-controller HTML
155+
appears on the page.
156+
``autoimport``:
157+
List of files to be imported with the controller. Useful e.g. when there are
158+
several CSS styles depending on the frontend framework used (like Bootstrap 4
159+
or 5, Tailwind CSS...). The value must be an object with files as keys, and
160+
a boolean as value for each file to set whether the file should be imported.
160161

161162
Specifics for Asset Mapper
162163
--------------------------

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.