Skip to content

Commit 205b882

Browse files
Lustmoredweaverryan
authored andcommitted
[LiveComponent][doc] Document how to deal with locales
1 parent 3a3dbb1 commit 205b882

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/LiveComponent/src/Resources/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ Oh, and just one more step! Import a routing file from the bundle:
9999
# config/routes.yaml
100100
live_component:
101101
resource: '@LiveComponentBundle/Resources/config/routing/live_component.xml'
102+
# uncomment to add localization to your components
103+
#prefix: '/{_locale}'
102104
103105
That's it! We're ready!
104106

0 commit comments

Comments
 (0)