01 - Preheat the oven to 350°F. Line a 12-cup muffin tin with cupcake liners.
02 - In a medium mixing bowl, whisk together the all-purpose flour, baking powder, and salt until thoroughly blended.
03 - In a separate large bowl, cream the softened butter and granulated sugar until pale and fluffy. Incorporate eggs one at a time, beating well after each addition.
04 - Stir the crushed pineapple, 1/4 cup pineapple juice, milk, and vanilla extract into the creamed mixture until even.
05 - Gently fold dry ingredients into the wet mixture, mixing just until incorporated. Avoid overmixing to maintain tenderness.
06 - Divide batter evenly among cupcake liners. Bake for 16 to 18 minutes, or until a toothpick inserted in the center emerges clean.
07 - Let cupcakes rest in the pan for 5 minutes, then transfer to a cooling rack and allow to cool completely before frosting.
08 - In a large bowl, beat the softened butter and cream cheese until silky smooth. Gradually add powdered sugar on low speed, then mix in 1/4 cup pineapple juice, vanilla extract, and food coloring if desired. Continue beating on high until frosting is light and fluffy.
09 - Frost cooled cupcakes generously. Garnish with dried pineapple flowers or maraschino cherries if preferred.