Spaces:
Sleeping
Sleeping
Arts-of-coding
commited on
Commit
•
9061fb4
1
Parent(s):
7cad39a
Update app.py
Browse files
app.py
CHANGED
@@ -14,11 +14,10 @@ app = dash.Dash(__name__, use_pages=True, external_stylesheets=external_styleshe
|
|
14 |
app.layout = html.Div([
|
15 |
html.H1('Multi-page app with Dash Pages'),
|
16 |
html.Div([
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
dash.page_container
|
22 |
])
|
23 |
|
24 |
if __name__ == '__main__':
|
|
|
14 |
app.layout = html.Div([
|
15 |
html.H1('Multi-page app with Dash Pages'),
|
16 |
html.Div([
|
17 |
+
html.Div(
|
18 |
+
dcc.Link(f"{page['name']}", href=page["path"])
|
19 |
+
) for page in dash.page_registry.values() if page["location"] == "sidebar"
|
20 |
+
])
|
|
|
21 |
])
|
22 |
|
23 |
if __name__ == '__main__':
|