plotly / dash-labs

Work-in-progress technical previews of potential future Dash features.
MIT License
139 stars 39 forks source link

Project Status #83

Open AnnMarieW opened 2 years ago

AnnMarieW commented 2 years ago

Multi Page Apps

A better, easier way to make Multi-page apps with Dash

Status

:tada: Now available in dash 2.5.1!

Convert your multi-page app from a dash-labs pages plug-in to the pages feature in dash 2.5.1 in 3 easy steps:

  1. Remove import dash_labs as dl or upgrade dash-labs to V1.1.0 There is a conflict between dash-labs versions less than 1.1.0 when running a pages app in dash 2.5.1

  2. Change:

    app = Dash(__name__, plugins=[dl.plugins.pages])

    to:

    app = Dash(__name__, use_pages=True)
  3. Change:

    dl.plugins.page_container

    to:

    dash.page_container

    That's it!

    :point_right: Thepages feature will no longer be developed and maintained here in dash-labs. I recommend all dash-labs multi-page apps be converted to use the pages feature in dash 2.5.1



MarkdownAIO

MarkdownAIO is a Dash feature that allows you to write Dash Apps as Markdown files. Simply pass in a Markdown file and MarkdownAIO will return a set of components with the option to display and/or execute code blocks. So it’s part:

Status: Pull request in Dash Labs. Feature preview available. Project on hold pending re-write to make it easier to write secure dash apps

Summary of Open items: