diff --git a/reflex/app.py b/reflex/app.py index d0ee06ae9..4fe76931a 100644 --- a/reflex/app.py +++ b/reflex/app.py @@ -426,6 +426,15 @@ class App(MiddlewareMixin, LifespanMixin): """ return self._event_namespace + @property + def pages(self) -> Dict[str, Component]: + """Get the compiled pages. + + Returns: + The compiled pages. + """ + return self._pages + def __post_init__(self): """Initialize the app.