01 - Preheat the oven to 350°F. Line an 8-inch round or square baking pan with parchment paper, or grease lightly with oil or butter.
02 - Place the oats in a blender or food processor. Pulse until they reach a coarse, flour-like texture. Transfer to a mixing bowl.
03 - Add baking powder, baking soda, cinnamon, nutmeg, and salt to the oat flour. Whisk together until evenly distributed.
04 - In a separate large bowl, whisk the eggs, maple syrup (or honey), melted coconut oil, and vanilla extract until smooth and well combined.
05 - Add the dry ingredients to the wet ingredients. Stir gently with a spatula or wooden spoon until just combined—do not overmix.
06 - Gently fold in grated carrots, raisins, and nuts if using. Ensure they are evenly distributed throughout the batter.
07 - Pour the batter into the prepared pan. Use a spatula to spread the batter evenly, smoothing the top surface.
08 - Bake for 35-40 minutes, or until a toothpick inserted in the center comes out clean or with just a few moist crumbs.
09 - Allow the cake to cool completely in the pan before slicing. Once cooled, cut into squares or wedges and serve.