diff --git a/src/LiveComponent/doc/index.rst b/src/LiveComponent/doc/index.rst index 2e06963705..a8a3c25571 100644 --- a/src/LiveComponent/doc/index.rst +++ b/src/LiveComponent/doc/index.rst @@ -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