Ingredients:
- 2 cups (240g) all-purpose flour
- 1 teaspoon baking powder
- 1 teaspoon baking soda
- 1 teaspoon ground cinnamon
- ½ teaspoon salt
- 1 cup (200g) granulated sugar
- ½ cup (100g) packed light brown sugar
- ½ cup (120ml) vegetable oil
- 4 large eggs
- 1 teaspoon vanilla extract
- 2 cups (about 200g) grated carrots
- 1 cup (240g) crushed pineapple, drained
- ½ cup (50g) chopped walnuts or pecans (optional)
- 8 oz (225g) cream cheese, softened
- ½ cup (115g) unsalted butter, softened
- 4 cups (480g) powdered sugar, sifted
- 1 teaspoon vanilla extract
- Pinch of salt
Instructions:
- Preheat the oven to 350°F (175°C). Grease and flour the cake pans.
- In a large mixing bowl, whisk together the dry ingredients: flour, baking powder, baking soda, cinnamon, and salt.
- In another bowl, cream together the granulated sugar, brown sugar, and oil until combined.
- Add the eggs one at a time, mixing well after each addition. Stir in the vanilla.
- Gradually mix in dry ingredients until just combined.
- Fold in the grated carrots, crushed pineapple, and nuts (if using).
- Divide the batter evenly into the prepared pans.
- Bake for 30 minutes, or until a toothpick inserted comes out clean.
- Allow cakes to cool in pans for 10 minutes, then transfer to a cooling rack.
- For frosting: Beat cream cheese and butter until smooth. Gradually add powdered sugar and vanilla. Frost between layers and on top.