Routing Custom Elements in a SPA

To handle multiple views in the single page application, you'll need to implement a router that can navigate between each view.