Ingredients
Method
- Preheat the oven to 350 degrees Fahrenheit. Grease two round cake pans and line the bottoms with parchment paper.
- In a large bowl, whisk together the all purpose flour, baking soda, baking powder, salt, cinnamon, nutmeg, and cloves. Stir in chopped walnuts if using.
- In a separate bowl, beat together the vegetable oil, eggs, granulated sugar, and vanilla extract until smooth and glossy.
- Gradually add the dry ingredients to the wet ingredients, stirring until just combined.
- Fold in shredded carrots and drained crushed pineapple until evenly distributed.
- Divide the batter evenly between the prepared cake pans. Bake for 30 to 35 minutes, or until a toothpick inserted in the center comes out clean.
- Let the cakes cool in the pans for 10 minutes, then turn out onto wire racks and cool completely.
- To prepare the frosting, beat together softened cream cheese and butter until smooth. Add vanilla extract and a pinch of salt.
- Gradually mix in powdered sugar until the frosting is fluffy and smooth.
- Place one cake layer on a serving plate, spread frosting over the top. Add the second cake layer and frost the top and sides evenly. Optionally, garnish with extra chopped walnuts.
Notes
Use room temperature ingredients for easier mixing and better texture. Make sure the cakes are fully cooled before frosting to prevent the frosting from melting. Store leftovers in the refrigerator due to the cream cheese frosting.