From a686f35ee5f6854ac9ffbb7bd02c8b886c51111d Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Tue, 22 Jun 2021 16:18:08 -0400 Subject: [PATCH] Adding missing routing import, since there is no recipe yet --- src/LiveComponent/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/LiveComponent/README.md b/src/LiveComponent/README.md index 9b8ab0e1c7e..eaa8aa4aeac 100644 --- a/src/LiveComponent/README.md +++ b/src/LiveComponent/README.md @@ -92,6 +92,14 @@ yarn install --force yarn encore dev ``` +Oh, and just one more step! Import a routing file from the bundle: + +```yaml +# config/routes.yaml +live_component: + resource: '@LiveComponentBundle/Resources/config/routing/live_component.xml' +``` + That's it! We're ready! ## Making your Component "Live"