Ingredients
Method
- Preheat oven to 350°F (175°C) and grease a 9-inch round cake pan. Whisk flour, sugar, baking soda, baking powder, and salt in a large bowl. In another bowl, stir oil, eggs, vanilla, crushed pineapple with its juice, and shredded coconut. Fold wet into dry just until combined.
- Scrape batter into the prepared pan and bake 30–35 minutes, until a toothpick comes out with moist crumbs. Cool in pan 10 minutes, then turn out onto a wire rack to cool completely.
- Beat cream cheese and butter until smooth. Add powdered sugar, vanilla, and a pinch of salt; beat on low to incorporate, then on medium for 2 minutes until light and spreadable.
- Spread frosting over the completely cooled cake. Top with toasted coconut if you like, slice, and serve at room temperature.
Notes
The cake needs to be fully cool before you frost it, or the frosting will melt into a puddle. If you’re baking ahead, wrap the unfrosted layer and refrigerate it overnight, then frost the next day. The flavor deepens after a rest, so this is a great make-ahead dessert.
