From 9030e737235735a47a4722ee239e29237caa16e1 Mon Sep 17 00:00:00 2001 From: William Pinaud Date: Tue, 9 Sep 2025 12:53:23 +0200 Subject: [PATCH] Update index.rst --- src/LiveComponent/doc/index.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/LiveComponent/doc/index.rst b/src/LiveComponent/doc/index.rst index 3aaadf20309..192bfe76494 100644 --- a/src/LiveComponent/doc/index.rst +++ b/src/LiveComponent/doc/index.rst @@ -66,6 +66,16 @@ and show the new results! Want some demos? Check out https://ux.symfony.com/live-component#demo +.. tip:: + + You can also specify the template path:: + + #[AsLiveComponent(template: 'some/path/to/your/template.html.twig')] + class ProductSearch + { + // ... + + Installation ------------