Why are the buttons in my Ionic 3 home page not blue?


#1

Still learning here… I’ve created a blank ionic v3 (and v4) application to be able to follow an E-learning course (ionic v2). In the video the teacher does nothing special. He just types the tag for a button in the home.html and saves it. A large button appears in blue on the screen. If I do that it becomes a small button in gray. What am I missing?


#2

Hi Paul!

The syntax for buttons also changed from Ionic 3 to Ionic 4: <button ion-button></button> is now <ion-button></ion-button>.

You can find the differences (breaking changes) for all components in this document: https://github.com/ionic-team/ionic/blob/master/angular/BREAKING.md#button

Best,
Rodrigo