Ionic-v5 Master detail view with side menu

I need to implement UI on desktop as same as the gmail with reading pane. i.e. master-detail view with side menu.
I took a reference from here https://medium.com/@blewpri/master-detail-with-ionic-3-split-panes-866293608d47, I need to do same in ionic 5 using routing.

Thanks in advance.