@@ -44,12 +44,14 @@ Done! Now render it wherever you want:
44
44
45
45
Enjoy your new component!
46
46
47
- ![ Example of the AlertComponent] ( ./ alert-example.png)
47
+ ![ Example of the AlertComponent] ( https://github.com/symfony/ux-twig-component/blob/main/ alert-example.png?raw=true )
48
48
49
49
This brings the familiar "component" system from client-side frameworks
50
- into Symfony. Combine this with [ Live Components] ( ../LiveComponent ) ,
50
+ into Symfony. Combine this with [ Live Components] ( https://github.com/symfony/ux-live-component ) ,
51
51
to create an interactive frontend with automatic, Ajax-powered rendering.
52
52
53
+ Want a demo? Check out https://github.com/weaverryan/live-demo .
54
+
53
55
## Installation
54
56
55
57
Let's get this thing installed! Run:
@@ -271,7 +273,7 @@ method and called that from the template via `this.products`.
271
273
This was done because, as a general rule, you should make your components
272
274
as _ lazy_ as possible and store only the information you need on its
273
275
properties (this also helps if you convert your component to a
274
- [ live component] ( ../LiveComponent ) ) later. With this setup, the
276
+ [ live component] ( https://github.com/symfony/ux-live-component ) ) later. With this setup, the
275
277
query is only executed if and when the ` getProducts() ` method
276
278
is actually called. This is very similar to the idea of
277
279
"computed properties" in frameworks like [ Vue] ( https://v3.vuejs.org/guide/computed.html ) .
0 commit comments