Angularjs + Ionic Framework: How to create a new route that shows the ion-tabs navigation but without defining a tab for itself?

后端 未结 1 1673
梦谈多话
梦谈多话 2021-02-09 21:28

Long title but here is a better explanation.

I have a template html file called \"Login\". I define a route in app.js like so

.state(\'login\', {
  url:         


        
1条回答
  •  醉话见心
    2021-02-09 21:53

    The tabs are meant to have their own tab icon. So you can't put the login page inside the tabs abstract view without creating a tab icon for it.

    Instead of putting the login page under the tab abstract view, you should just put a separate tabbed navigation for the login page.

    Load the following view into your index page.

    
    
    
    
    Login page content goes here 
    
    
    
    
    
    
    

    0 讨论(0)
提交回复
热议问题