Reputation: 54
After you create new tabs template with Ionic 2, and you want to replace one of the tab names to something else, for example settings, is there a easy/fast way to do this without changing all instances and the files names, or creating new tab and to delete the other?
Upvotes: 2
Views: 2072
Reputation: 179
If you just want to change the text that appears as the tab link, then go to src/pages/tabs/tabs.html and in that file change the tabTitle
to whatever text you would like to display.
For example <ion-tab [root]="tab1Root" tabTitle="Settings" tabIcon="list"></ion-tab>
Upvotes: 1