Переглянути джерело

Remove `app.compile()` from templates (#2327)

Masen Furer 1 рік тому
батько
коміт
1289182f2e

+ 0 - 1
reflex/.templates/apps/blank/code/blank.py

@@ -42,4 +42,3 @@ def index() -> rx.Component:
 # Add state and page to the app.
 # Add state and page to the app.
 app = rx.App()
 app = rx.App()
 app.add_page(index)
 app.add_page(index)
-app.compile()

+ 0 - 1
reflex/.templates/apps/demo/code/demo.py

@@ -120,4 +120,3 @@ def chatapp() -> rx.Component:
 
 
 # Add state and page to the app.
 # Add state and page to the app.
 app = rx.App(style=base_style)
 app = rx.App(style=base_style)
-app.compile()

+ 0 - 1
reflex/.templates/apps/sidebar/code/sidebar.py

@@ -9,4 +9,3 @@ import reflex as rx
 
 
 # Create the app and compile it.
 # Create the app and compile it.
 app = rx.App(style=styles.base_style)
 app = rx.App(style=styles.base_style)
-app.compile()