Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/LiveComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,15 @@ fresh copy of our component. That HTML will replace the current HTML. In
other words, you just generated a new random number! That's cool, but
let's keep going because… things get cooler.

.. tip::

If you use the `Symfony MakerBundle`_, you can easily create a new component
with the ``make:twig-component`` command:

.. code-block:: terminal

$ php bin/console make:twig-component --live EditPost

.. tip::

Need to do some extra data initialization on your component? Create
Expand Down
Loading