01 -
Preheat oven to 175°C. Grease and flour two 23cm (9-inch) round cake pans or a 23x33cm (9x13-inch) baking dish. Line the bases with parchment paper for effortless release.
02 -
In a spacious mixing bowl, thoroughly whisk together the all-purpose flour, baking powder, baking soda, ground cinnamon, ground nutmeg, and salt until uniformly blended.
03 -
In a separate large bowl, combine the granulated sugar, brown sugar, and vegetable oil; whisk vigorously until the mixture is smooth. Incorporate the large eggs one at a time, ensuring each egg is fully integrated into the batter before adding the next.
04 -
Gradually introduce the prepared dry ingredient mixture into the wet ingredients, stirring gently with a spatula until just combined. Exercise caution to avoid overmixing, which can affect the cake's texture.
05 -
Using a rubber spatula, carefully fold in the grated carrots, well-drained crushed pineapple, and the optional shredded coconut, distributing them evenly throughout the batter.
06 -
Divide the prepared batter evenly between your chosen cake pans and smooth the surfaces. Bake for 30–35 minutes for round pans or 40–45 minutes for the 9x13-inch baking dish, or until a wooden skewer inserted into the center emerges clean.
07 -
Allow the baked cakes to cool within their pans for 10–15 minutes before carefully inverting them onto a wire rack to cool completely. Ensure the cakes are entirely cool before proceeding to frost.
08 -
For the frosting, beat the softened cream cheese and butter together in a bowl using an electric mixer until the mixture is smooth and aerated. Gradually add the powdered sugar, approximately 120g (1 cup) at a time, until the desired sweetness and consistency are achieved. Incorporate the vanilla extract and then add milk or pineapple juice incrementally until the frosting reaches a smooth, spreadable consistency.
09 -
Once the cake layers are thoroughly cooled, generously spread the prepared cream cheese frosting over the top surface and sides (if assembling a layered cake). Optionally, garnish with toasted coconut, fresh pineapple pieces, or finely chopped nuts for added visual appeal and flavor.