01 - Preheat oven to 350°F (175°C). Line a standard muffin tin with 12 cupcake liners.
02 - In a medium mixing bowl, whisk together the all-purpose flour, baking powder, and salt until evenly blended.
03 - In a large bowl, cream unsalted butter and granulated sugar together using an electric mixer until pale and fluffy. Add eggs one at a time, thoroughly mixing after each addition.
04 - Blend in crushed pineapple, pineapple juice, milk, and vanilla extract until mixture is uniform.
05 - Gradually incorporate dry ingredients into the wet mixture, mixing just until combined. Avoid overmixing to ensure a light crumb.
06 - Divide batter evenly among the cupcake liners. Bake for 16 to 18 minutes, or until a toothpick inserted in the center comes out clean.
07 - Allow cupcakes to cool in the pan for 5 minutes, then transfer to a cooling rack until fully cooled.
08 - Using an electric mixer, beat softened butter and cream cheese until smooth. Gradually add powdered sugar on low speed, followed by pineapple juice, vanilla extract, and yellow food coloring if desired. Whip on high speed until mixture is light and airy.
09 - Generously frost cooled cupcakes and optionally garnish each with a dried pineapple flower, pineapple wedge, or maraschino cherry.