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 ------------