Class 27 / 42
BaseButton now accepts the prop isPrimary to create a primary button.
Inside this component, we only apply the classes btn-primary and btn-bold when the prop isPrimary is true.
If you want to apply different classes when isPrimary is false, use this syntax instead: :class="[isPrimary ? 'a' : 'b']".
Try adding class="btn" to <button>. Vue will merge class and :class for you.