8000 minor #109 Adding missing routing import, since there is no recipe ye… · symfony/ux@e239983 · GitHub
[go: up one dir, main page]

Skip to content

Commit e239983

Browse files
committed
minor #109 Adding missing routing import, since there is no recipe yet (weaverryan)
This PR was merged into the main branch. Discussion ---------- Adding missing routing import, since there is no recipe yet | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Tickets | Part of #102 | License | MIT There isn't a recipe yet, so this is needed. Commits ------- a686f35 Adding missing routing import, since there is no recipe yet
2 parents b7007f1 + a686f35 commit e239983

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