MCPcopy Create free account
hub / github.com/dot-agent/nextpy / BasicApp

Function BasicApp

tests/test_testing.py:22–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 return
21
22 def BasicApp():
23 import nextpy as xt
24
25 class State(xt.State):
26 pass
27
28 app = xt.App(state=State)
29 app.add_page(lambda: xt.text("Basic App"), route="/", title="index")
30 app.compile_()
31
32 with AppHarness.create(
33 root=tmp_path,

Callers

nothing calls this directly

Calls 3

add_pageMethod · 0.95
compile_Method · 0.95
textMethod · 0.80

Tested by

no test coverage detected