Preheat your oven to 350°F (175°C). Grease a loaf pan.
In a large bowl, mix flour, sugar, baking powder, and salt.
Stir in shredded coconut.
In another bowl, whisk together coconut milk, vegetable oil, eggs, and vanilla extract.
Combine wet and dry ingredients until just mixed.
Pour batter into the prepared loaf pan.
Bake for about 1 hour or until a toothpick inserted into the center comes out clean.
Let it cool in the pan for 10 minutes, then transfer to a wire rack to cool completely.