Page based routing is quite easy to understand. Even the name itself implies what it does.
const someCode: any[] = [];