New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to integrate with other applications like flask, frappe or django? #317
Comments
Hi @KathirvelPriya, thanks for your question. Under the hood, Vizro wraps Dash, which itself wraps a Flask app. Hence your question is basically the same as asking how to integrate a Dash app into a web framework.
If you search for how to integrate a Dash app into a web framework then you'll find lots of discussion of it e.g. on the plotly forums. Here's some pointers though:
Here's a very simple working example of Vizro inside an existing Flask app (which, as discussed in this article, might not be the way you actually want to do it, but serves as a good proof of concept).
http://127.0.0.1:8050/ gives the Flask app: http://127.0.0.1:8050/dashboard/ gives the Vizro app: |
Hi @antonymilne, |
Ah, that's a pity. I recommend posting on the plotly forums to see if they can help you with that. Basically if you can get it working with pure Dash then you should easily be able to get it working with Vizro. And if you can't get it working with pure Dash then unfortunately you won't be able to get it working with Vizro. |
Thank you for your response. I will try. |
Question
How to integrate with other applications like flask, frappe or django?
Code/Examples
No response
Other information
No response
Which package?
None
Package version
No response
Python version
No response
OS
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: