Preheat oven to 350 F and grease a 9-inch baking dish.
In a large bowl, mix together 2 cups all-purpose flour, 1 and 1/2 cups white sugar, 1 teaspoon baking soda, and 1/2 teaspoon salt.
Add 2 large eggs, 2.5 cups crushed pineapple with juice, and 1 teaspoon vanilla extract. Whisk well until combined.
Pour the batter into the baking dish and bake for about 35 minutes.
Once the cake is baked and cooled, slice and serve!