01 -
Preheat oven to 350°F. Grease or line a 9×13-inch baking dish with parchment paper for easy release.
02 -
In a large bowl, whisk together vegetable oil, granulated sugar, brown sugar, eggs, and vanilla extract until the mixture is smooth.
03 -
In a separate bowl, whisk together flour, baking powder, baking soda, salt, cinnamon, nutmeg, and cloves. Gradually add the dry mixture to the wet ingredients, stirring until just combined.
04 -
Fold in the grated carrots, drained crushed pineapple, and chopped nuts if using, ensuring even distribution throughout the batter.
05 -
Pour the batter evenly into the prepared pan. Bake for 30 to 35 minutes, or until a toothpick inserted into the center comes out clean. Let cool completely in the pan on a wire rack.
06 -
Add softened cream cheese and butter to a mixing bowl. Beat until smooth and creamy. Gradually add powdered sugar, vanilla extract, and salt, and continue beating until light and fluffy.
07 -
Spread the frosting evenly over the cooled bars. Slice into portions and serve.