this is a app boilerplate,build with ionic2 & angular2 & webpack!
0 . npm install -g ionic@beta
1 . git clone [email protected]:Binaryify/ionic2-app-webpack-boilerplate.git
2 . npm install or cnpm install
3 . ionic serve
@Page(
{
templateUrl: '...',
})
export class PageWithoutTabBar
{
constructor()
{
this.tabBarElement = document.querySelector('#tabs ion-tabbar-section');
}
onPageWillEnter()
{
this.tabBarElement.style.display = 'none';
}
onPageWillLeave()
{
this.tabBarElement.style.display = 'block';
}
}
enjoy it !
附: