Preheat oven to 350°F.\n\n1. Mix butter and sugar in stand mixer until it is creamy and all mixed together. (Creaming)\n2. Mix in egg, then add vanilla.\n3. Mix flour and salt in a separate bowl. Add flour and pineapple gradually to cream while mixing. Use all the pineapple in this step.\n4. Add half of the shredded coconut.\n5. Grease 9x13 pan and add batter. Use spoon to press remaining shredded coconut into the batter.\n\nBake for 25 minutes.