Whisk together flour, baking powder, baking soda, and salt in a large mixing bowl.
In a smal bowl, whisk together coconut milk, sugar, oil, apple cider vinegar, and vanilla. Once combined, transfer wet ingredients into dry ingredients and stir until just combined.
Pour the batter into two greased 9-inch baking pans. Bake at 350°F for 30-35 minutes or until a toothpick inserted in the center comes out clean.
Once cooked, remove from oven and let sit for 10 minutes. Turn out cakes onto wire racks and let cool completely.
To make the chocolate frosting, start by beating the softneed dairy-free butter. Add powdered sugar, cocoa powder, and vanilla extract and continue to beat until frosting is smooth. Frost and decorate your cake!