Preheat your oven to 350°F (175°C). Prepare a 9x9 inch baking pan by greasing it with non-stick cooking spray or lining it with parchment paper for effortless removal of the bars once baked.
In a medium mixing bowl, combine the thoroughly drained crushed pineapple, shredded coconut, melted butter, coconut milk, and vanilla extract. Stir well until all ingredients are fully mixed and blended.
In a separate bowl, whisk together the all-purpose flour, granulated sugar, baking powder, and a pinch of salt until well combined.
Gradually incorporate the dry ingredients into the wet mixture. Stir gently until just combined, ensuring not to overmix; it’s okay if there are a few lumps in the batter.
In a small bowl, beat the eggs until they become frothy. Carefully fold the beaten eggs into the batter, mixing until everything is fully combined without overworking the mixture.
Pour the batter into the prepared baking pan, making sure to spread it evenly into the corners for uniform baking.
Place the pan in the preheated oven and bake for 25-30 minutes, or until the top turns a lovely golden brown. To check for doneness, insert a toothpick into the center; it should come out clean when the bars are ready.
Once baked, remove the pan from the oven and let it cool in the pan for about 10 minutes. Then, carefully transfer the bars to a wire rack to cool completely.
After cooling, slice the baked creation into bars.
Notes
For an extra touch, consider sprinkling additional shredded coconut on top for garnish before serving.