Place the coconut milk can in the fridge overnight or for at least 3-4 hours before using it. Make sure you do not shake the can at all, this will allow the cream to set at the top of the can.
Preheat the oven to 180 degrees Celsius/ 350 degrees Fahrenheit. Line a cake pan (about 20x20 cm/ 8x8 inch) with baking paper.
In a bowl whisk together the flour, sugar, cocoa, baking soda, salt, water, oil, vinegar, and vanilla extract. Pour the mixture into the prepared pan and bake for 30 minutes or until a toothpick inserted in the middle of the cake comes out wet but without batter sticking to it. Let cool completely.
To make the coconut cream frosting, carefully take the can out of the fridge and open it without shaking it at all. Spoon most of the thick cream at the top of the can. I place the rest of the liquid in another container and add it to a soup, curry, or stew during the next couple of days.
Add about 3 tablespoons icing sugar and whip the cream until nice and fluffy. Taste and add more icing sugar if you want the cream to be sweeter or a bit stiffer. Cut the cake into squares and pipe some coconut cream on each square.