01 - Preheat the oven to 350°F. Line a 12-cup muffin tin with paper liners.
02 - In a medium mixing bowl, whisk together flour, baking powder, and salt until well combined.
03 - In a large bowl, beat together softened butter and granulated sugar with an electric mixer until the mixture is light and fluffy.
04 - Add eggs to the butter mixture one at a time, beating thoroughly after each addition.
05 - Gently mix in the crushed pineapple, pineapple juice, milk, and vanilla extract until evenly blended.
06 - Gradually add the whisked dry ingredients to the wet mixture, mixing on low speed just until incorporated. Avoid overmixing.
07 - Divide the batter evenly among the cupcake liners. Bake for 16 to 18 minutes, or until a toothpick inserted in the center comes out clean.
08 - Remove from oven and allow cupcakes to cool in the tin for five minutes, then transfer to a wire rack to cool completely.
09 - Beat softened butter and cream cheese together until smooth. Gradually add powdered sugar while mixing on low, then blend in pineapple juice, vanilla, and food coloring if desired. Beat on high until frosting is light and fluffy.
10 - Once cupcakes are fully cooled, generously frost each with pineapple whip frosting. Garnish with dried pineapple flowers or maraschino cherries as desired.