title: Integrating Dash apps into Flask: minimal example
body: <p>I want to create a Flask web-application. I want to integrate several Dash-Apps into this site and display links to each Dash-app on the home page.
  Here is a minimal example:
  The home page should look like this:</p>
  
  <pre><code>from flask import Flask
  app = Flask(__name__)
  
  @app.route("/")
  def main():
     return "Hello World"
  
  if __name__ == "__main__":
     app.run(debug = True)
  </code></pre>
  
  <p>Lets say we have a Dash app that looks like this:</p>
  
  <pre><code>import dash
  import dash_html_components as html 
  app = dash.Dash(__name__)
  
  app.layout = html.Div("Hello world 1")
  
  if __name__=="__main__":
      app.run_server(debug=True)
  </code></pre>
  
  <p>My question is now: How can I integrate the Dash app into the Flask app in the following way:
  1) there should be a link in the Flask-app leading to the Dash app 2) the location of the Dash app should be for example <code>/dash</code> (the home page is in that case located at<code>/</code>) 3) if there is a second and third Dash-app, it should be easy to add another link and location (e.g. <code>/dash2</code>, <code>/dash3</code>,...) </p>
  
  <p>There are many posts dealing with this issue - however, I found no minimal example.</p>