Preheat oven to 350. Prepare muffin pan with parchment paper cups. They don't stick. Really!
In small bowl, mix together flour, baking powder, salt, sugar, and coconut flakes.
In large bowl, combine pineapple, coconut oil, vanilla, and eggs. Mix until blended well. (If you don’t have coconut oil, canola oil will work too.)
Add in dry ingredients to the wet. Mix until a thick batter forms.
Slowly add in ½ cup milk. The batter should be thick but still pour-able. Add milk 1 tablespoon at a time if you need to thin it a bit.
Fill baking cups 2/3 full with batter. Bake in the preheated oven for 18 minutes or until toothpick inserted in center comes out clean.
Cool completely before frosting.