Dash callback in a separate file

Here is a trick being used to hide multiple layouts on the same page: How to pass values between pages in dash

@chriddyp is this what you meant?

@Philippe where do you call:
app.run_server(debug=True, port=8080)?