Ingredients
For the Cake:
2 cups all-purpose flour
2 cups granulated sugar
1 teaspoon baking soda
1/2 teaspoon salt
2 large eggs
1 (20 oz) can crushed pineapple in juice (do not drain)
1 teaspoon vanilla extract
1/2 cup chopped walnuts or pecans (optional)
For the Frosting:
1/2 cup (1 stick) unsalted butter
1 (8 oz) package cream cheese, softened
2 cups powdered sugar
1 teaspoon vanilla extract
1/2 cup chopped pecans or coconut flakes (optional, for topping)
Instructions
-
Preheat the Oven: Preheat your oven to 350°F (175°C). Grease and flour a 9×13-inch baking dish.
-
Make the Batter: In a large bowl, mix flour, sugar, baking soda, and salt. Add eggs, crushed pineapple (with juice), and vanilla. Stir until just combined. Fold in nuts if using.
-
Bake the Cake: Pour the batter into the prepared pan and smooth the top. Bake for 30–35 minutes, or until a toothpick inserted in the center comes out clean. Let the cake cool completely in the pan.
-
Make the Frosting: In a bowl, beat together butter and cream cheese until smooth. Add powdered sugar and vanilla, and beat until creamy.
-
Frost the Cake: Once the cake is completely cooled, spread frosting evenly over the top. Sprinkle with chopped pecans or coconut if desired.
-
Serve: Slice and enjoy! Store leftovers in the refrigerator.