Skip to content

Commit a686f35

Browse files
committed
Adding missing routing import, since there is no recipe yet
1 parent b7007f1 commit a686f35

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/LiveComponent/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ yarn install --force
9292
yarn encore dev
9393
```
9494

95+
Oh, and just one more step! Import a routing file from the bundle:
96+
97+
```yaml
98+
# config/routes.yaml
99+
live_component:
100+
resource: '@LiveComponentBundle/Resources/config/routing/live_component.xml'
101+
```
102+
95103
That's it! We're ready!
96104
97105
## Making your Component "Live"

0 commit comments

Comments
 (0)