Hawaiian Pineapple Cake 😍

Hawaiian Pineapple Cake 😍
Ingredients:
For the Cake:
-2 cups all-purpose flour
-2 cups sugar
-2 eggs
-1 tsp baking soda
-1 tsp vanilla extract
-Pinch of salt
-1 (20 oz) can of crushed pineapple (undrained) in its own juice (not syrup)
-1 cup chopped nuts (optional)

For the Cream Cheese Frosting:
-½ cup butter (1 stick), softened
-1 (8 oz) package cream cheese, softened
-1 tsp vanilla extract
-1 ½ cups confectioners’ sugar
-Coconut for garnish

Directions:
Preheat Oven:
1.1. Preheat your oven to 350°F (175°C). Grease and flour a 9×13-inch baking dish.
Prepare the Cake Batter:
2.1. In a large mixing bowl, combine the flour, sugar, eggs, baking soda, vanilla extract, and a pinch of salt.
2.2. Add the undrained crushed pineapple to the mixture and stir until well combined.
2.3. If using, fold in the chopped nuts.
Bake the Cake:
3.1. Pour the batter into the prepared baking dish.
3.2. Bake in the preheated oven for 30-35 minutes, or until a toothpick inserted into the center comes out clean.
3.3. Allow the cake to cool completely in the baking dish.

Prepare the Cream Cheese Frosting:
4.1. In a medium mixing bowl, beat the softened butter and cream cheese together until smooth and creamy.
4.2. Add the vanilla extract and confectioners’ sugar, and beat until well combined and smooth.
Frost the Cake:
5.1. Spread the cream cheese frosting evenly over the cooled cake.
5.2. Garnish with coconut flakes as desired.