[Vuejs]-How to create an empty ion-badge

0👍

You can add some css to your file

ion-badge {
  display: block;
  height: 12px;
  width: 12px;
  border-radius: 15px;
  margin: 0.5rem;
  color: red;
}

and now you can delete the unwanted icon from your code, like this:

 <ion-tab-button tab="tabVisit" href="/tabs/tabVisit">
                    <ion-label>Visit</ion-label>
                    <ion-badge></ion-badge>
 </ion-tab-button>

I hope this is helpful!

Leave a comment