Skip to content

Commit 873f3a2

Browse files
committed
Add solution to locales in the docs
1 parent 3a3dbb1 commit 873f3a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ 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+
prefix: '/{_locale}' # comment out if your app is not localised
102103
103104
That's it! We're ready!
104105

0 commit comments

Comments
 (0)