Dash.jl
Dash.jl copied to clipboard
Simple example of multi-page app using Dash for Julia
Hello. I am trying to build a multi-page app with Julia Dash. It seems like the documentation is still in a state of development for that section of the Julia Dash docs, hence I have been trying to find some good examples of how to do this.
Now, I was looking at the repo by https://gitlab.com/etpinard/dash.jl-multi-page-app-example , which is a good start. However, that example is really developed in a specialized and very opinionated manner, so it is hard for a beginner to follow. Hence I was looking for an alternative example that might exist in a pull request or gist somewhere?
I think the key issue is that the python docs describe the sophisticated page_registry
and the use_pages
setting for the dash app, which those docs are missing for the Julia code. I checked the Dash.jl source code too, and did not find any description of that feature. Hence the code in the above mentioned repo has to do some complicated manipulations to manually implement the routes, etc.
Hence I would appreciate it if someone could guide me to a good multipage example, or perhaps an explanation of the page_registry
for Julia.
Hi @00krishna
Multi-page apps were added in the dash python version v2.5.0 and haven't made their way to Dash.jl.
If you have specific questions on https://gitlab.com/etpinard/dash.jl-multi-page-app-example, please don't hesitate to ask them here.
Thank you!
Sounds good @etpinard . Yeah, I went through the code you created in detail. It is still a little complicated for me to follow. You seem to have invested a lot of time to develop both the basic Dash layout code, as well as a lot of Julia tooling around that layout code :). Since I am new to Dash, it was tricky for me to understand at first. After a week of working with Dash I might understand it better :). Thanks again for producing that code. It was very helpful to see all of these details implemented in Julia.