(Ionic -V4 )How to add authentication page before the split pane layout?

hello,

I want to build a dashboard kind of web app using ionic 4 and i’m using split pane component in app component.html file but this will make an entirely a spit pane view project but my requirement is i want a login and register page before the split pane layout appears. so please help me with this if any knows.

I do this in an application.
What i do is disable the menu using

constructor(public menu: MenuController) {}
ionViewWillEnter() {
    this.menu.enable(false);
    this.menu.swipeEnable(false);
}
ionViewDidLeave() {
    this.menu.enable(true);
}

i have the menu disabled on all the auth pages and pages accessible without required authentication (pw resets, forgot pw, etc if you use them

1 Like

thank you so much it worked for me:slightly_smiling_face: