Tabs Page not showing tabs after changing rootpage to LoginPage


#1

I am new to ionic and i want to make first time users get authenticated before accessing the home page. But now i am having issue with the tabs page(home) not showing the tabs.
Below is my app.componet.ts file and i get to enter the Tabs page, but it doesn’t load the tabs as expected…
import { LoginPage } from ‘…/pages/login/login’;

@Component({
templateUrl: ‘app.html’
})
export class MyApp {
rootPage:any = LoginPage;

constructor(platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
platform.ready().then(() => {
// Okay, so the platform is ready and our plugins are available.
// Here you can do any higher level native things you might need.
statusBar.styleDefault();
splashScreen.hide();
});
}
}