01 -
Preheat oven to 175°C. Grease and line two 23 cm round cake pans or one 23 × 33 cm rectangular dish.
02 -
In a large bowl, whisk together flour, baking powder, baking soda, cinnamon, nutmeg, and salt until well combined.
03 -
In a separate bowl, whisk together granulated sugar, brown sugar, and vegetable oil until smooth. Beat in eggs one at a time, mixing well after each addition.
04 -
Gradually fold the dry ingredients into the wet mixture until just incorporated. Do not overmix.
05 -
Fold in grated carrots, drained crushed pineapple, and shredded coconut until evenly distributed throughout the batter.
06 -
Pour batter evenly into prepared pans. Bake for 30–35 minutes, or until a toothpick inserted in the centre emerges clean.
07 -
Allow cakes to cool in pans for 10–15 minutes before transferring to a wire rack to cool completely.
08 -
Beat cream cheese and unsalted butter together until fluffy. Gradually add powdered sugar, vanilla extract, and enough milk or pineapple juice to achieve a smooth, spreadable consistency.
09 -
Spread frosting evenly over cooled cake layers. Decorate with toasted coconut or chopped nuts if desired.