all the reflex web junk lole
This commit is contained in:
1 parent
3e03fd7e8c
commit
f514a577c8
5 files changed
+47
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
@@ -0,0 +1,2 @@
|
||||
|
||||
reflex==0.8.14.post1
|
||||
@@ -0,0 +1,9 @@
|
||||
import reflex as rx
|
||||
|
||||
config = rx.Config(
|
||||
app_name="web",
|
||||
plugins=[
|
||||
rx.plugins.SitemapPlugin(),
|
||||
rx.plugins.TailwindV4Plugin(),
|
||||
]
|
||||
)
|
||||
Whitespace-only changes.
@@ -0,0 +1,36 @@
|
||||
"""Welcome to Reflex! This file outlines the steps to create a basic app."""
|
||||
|
||||
import reflex as rx
|
||||
|
||||
from rxconfig import config
|
||||
|
||||
|
||||
class State(rx.State):
|
||||
"""The app state."""
|
||||
|
||||
|
||||
def index() -> rx.Component:
|
||||
# Welcome Page (Index)
|
||||
return rx.container(
|
||||
rx.color_mode.button(position="top-right"),
|
||||
rx.vstack(
|
||||
rx.heading("Welcome to Reflex!", size="9"),
|
||||
rx.text(
|
||||
"Get started by editing ",
|
||||
rx.code(f"{config.app_name}/{config.app_name}.py"),
|
||||
size="5",
|
||||
),
|
||||
rx.link(
|
||||
rx.button("Check out our docs!"),
|
||||
href="https://reflex.dev/docs/getting-started/introduction/",
|
||||
is_external=True,
|
||||
),
|
||||
spacing="5",
|
||||
justify="center",
|
||||
min_height="85vh",
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
app = rx.App()
|
||||
app.add_page(index)
|
||||
Reference in new issue
Block a user