Preheat the oven to 350°F (175°C) and prepare your muffin tin by greasing it or lining it with paper liners.
Whisk together the dry ingredients in a mixing bowl: combine flour, sugar, baking powder, salt, and shredded coconut.
Mix the wet ingredients in another bowl: combine crushed pineapple, coconut milk, vegetable oil, eggs, and vanilla extract.
Combine the wet ingredients with the dry ingredients by pouring the pineapple mixture into the flour mixture and stir gently until just combined.
Spoon the batter into your prepared muffin tin, filling each cup about 2/3 full.
Bake in the preheated oven for 18-20 minutes, or until a toothpick inserted into the center comes out clean.
Cool the muffins in the tin for about 5 minutes before transferring them to a wire rack to cool completely.