Preheat the oven to 350 F (175C). Line two 12-cavity muffin tins with cupcake liners.
In the bowl of a stand mixer fitted with the paddle attachment, mix together the flour, sugar, cocoa powder, baking soda, baking powder, and salt on low speed until combined.
In a large bowl, whisk together the coconut milk, vegetable oil, apple cider vinegar, and vanilla extract.
With the mixer on low speed, pour the wet ingredients inot the dry and mix to combine, no more than 30 sceonds. If needed, finish mixing the batter by hand using a rubber spatula so its smooth and lump-free.
Divide the batter evenly between the prepared cupcake liners. Bake for 18-22 minutes, until the cupcakes have a gently rounded springy dome, and a toothpick inserted into the center comes out with only moist crumbs. Let cool completely on wire racks before frosting!
Make The Buttercream
In the bowl of a stand mixer fitted with the paddle attachment, mix together the butter, icing sugar, pure vanilla extract and pinch of salt on low speed to combine. Once combined, mix on medium-high speed until light and fluffy, about two minutes.
Decorate the Cupcakes
Using a piping bag fitted with an open star 1M tip, pipe buttercream swirls, rosettes or drop star ruffles on each cupcake. Top with raspberries, sprinkles or whatever you like!
notes
Cupcakes will taste freshest eaten with a day or two of making, but they can be stored in the fridge, covered, for up to 3 days. Bring to room temperature before eating, if desired!