Multiple updating pages with different routes #298
Unanswered
KareemKarl
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there,
I wanted to ask, how do you make multiple asynchronously updating pages work?
I'm working off of the following: https://justpy.io/charts_tutorial/updating_charts/
One of my pages is a QuasarPage and the other is a normal WebPage; how would this be structured best, and where do you set the route for one of the pages (I've tried to do it using jp.Route and the jp.SetRoute decorator, but it doesn't seem to work on asynchronous functions.)
I'm confused what would be the argument for jp.Route in this circumstance too... The chart_test function as it returns the wp or?
My question boils down to this: working from the updating_charts example, how would you add another similarly updating webpage with a different route?
Thank you for reading and I appreciate your future response!
Beta Was this translation helpful? Give feedback.
All reactions