Preheat the oven to 350ยบ. Grease mini cake pans or line a muffin tin with parchment liners.
Melt the butter in a mixing bowl, then add the egg and vanilla extract. Stir very well, incorporating the egg and butter completely together.
Add the remaining dry ingredients to the butter and egg mixture. Stir very well.
Pour the batter into the cake pans or cupcake liners and bake. For the small cakes, I baked them for 15 minutes. Cupcakes may take a few minutes less. Test with a wooden skewer to ensure the centers are throughly baked.
Allow to cool before frosting and enjoy!