01 -
Preheat the oven to 350°F (177°C). Grease or line a 9×13-inch pan.
02 -
In a large bowl, combine all-purpose flour, granulated sugar, eggs, and baking soda. Stir the mixture until it is mostly smooth.
03 -
Incorporate the crushed pineapple, including its juice, into the batter and mix until evenly blended.
04 -
Pour the batter into the prepared pan and smooth the surface evenly with a spatula.
05 -
Bake in the preheated oven for 30 to 45 minutes or until a toothpick inserted in the center emerges clean or with just a few moist crumbs.
06 -
Remove the cake from the oven and allow it to cool completely in the pan.
07 -
With a mixer, beat together cream cheese and softened butter until smooth. Gradually add powdered sugar and vanilla extract. Continue mixing until frosting is creamy and uniform.
08 -
Spread the cream cheese frosting evenly over the cooled cake, then cut into portions and serve.