Preheat the oven to 350F. Prepare your cake pans with liners or baking spray
Prepare your stand alone mixer or use a hand held mixer if you don't have a stand alone
Cream your coconut oil and sugar well until somewhat fluffy. It won't look as fluffy as what butter and sugar look like but it's close
Add the rest of your wet ingredients and mix well
Add your vanilla powder, baking powder and soda and mix well.
Fold in your flour in 3 batches and mix between batches. Making sure not to overmix*
If you wish to have three layers, you may wish to double the recipe **
Toss your frozen or fresh raspberries carefully with flour. Just a gentle toss will do. Fold in your raspberries VERY carefully. If they're frozen they'll be more forgiving and not bleed into your batter but if they're fresh handle them minimally and try to mix the batter without over mixing the berries
Evenly measure out your batter (I use a measuring scale***)
Pour into a prepared cake pan and bake for 30-35 minutes ****
Check at the end of 30 minutes with a fork/toothpick to see if it's cooked through the centre. If not, add another 5-10 minutes.
The cake can be very moist but cooked. Let it cool completely before you decorate/cut into it.
I usually wrap the cakes, when cooled, and place it in the fridge to cool them overnight before icing and decorating