Is there a way to have multiple pages like flask?

A related post on multiple pages: