diff --git a/src/LiveComponent/doc/index.rst b/src/LiveComponent/doc/index.rst index ad3cc216f8e..b5f03f9c9c8 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