Skip to content

Using QLayout with router views #310

Answered by elimintz
bigfatwhale asked this question in Q&A
Discussion options

You must be logged in to vote

With JustPy you can't use the router-views but you don't need to. You simply change the content of the page based on the input of the user, but you do it in python on the backend (there is no frontend in JustPy).

Here is an example where the content on the page is changed based on user interaction:
https://justpy.io/tutorial/handling_events/#example-3-event-changes-elements-on-page

Here is a complete example with Quasar's layout:
https://github.com/elimintz/justpy/blob/master/examples/dogs.py

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bigfatwhale
Comment options

Answer selected by bigfatwhale
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants