|
@@ -60,8 +60,8 @@ def wait_for_connected_demo():
|
|
|
This is especially useful if you want to reuse the same prefix for multiple pages.
|
|
|
The router and its pages can be neatly tugged away in a separate module (e.g. file) and
|
|
|
the router is simply imported and included in the main app.
|
|
|
- See our [modularization example](https://github.com/zauberzeug/nicegui/blob/main/examples/modularization/example_c.py)
|
|
|
- for a multi-file app structure.
|
|
|
+ See our [modularization example](https://github.com/zauberzeug/nicegui/blob/main/examples/modularization/api_router_example.py)
|
|
|
+ for a multi-file app structure using an API router.
|
|
|
''', tab='/sub-path')
|
|
|
def api_router_demo():
|
|
|
# from nicegui import APIRouter, app
|