Skip to content

Commit 9030e73

Browse files
authored
Update index.rst
1 parent eeb13e1 commit 9030e73

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ and show the new results!
6666

6767
Want some demos? Check out https://ux.symfony.com/live-component#demo
6868

69+
.. tip::
70+
71+
You can also specify the template path::
72+
73+
#[AsLiveComponent(template: 'some/path/to/your/template.html.twig')]
74+
class ProductSearch
75+
{
76+
// ...
77+
78+
6979
Installation
7080
------------
7181

0 commit comments

Comments
 (0)