In a large bowl, whisk flour, baking powder, and salt. In another large bowl, using an electric mixer on high speed, beat butter and granulated sugar until fluffy and pale in color, about 2 minutes. Add egg, milk, and vanilla and beat on medium speed until combined. Gradually add dry ingredients and mix until fully combined, scraping down sides of bowl with a rubber spatula, if needed.