01 - Preheat the oven to 350°F. Line an 8-inch round or square baking pan with parchment paper, or grease lightly with cooking spray.
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 the baking powder, baking soda, cinnamon, nutmeg, and salt to the oat flour. Whisk until thoroughly combined.
04 - In a separate large bowl, whisk together the eggs, maple syrup, melted coconut oil, and vanilla extract until smooth and well blended.
05 - Add the dry ingredients to the wet ingredients. Stir gently with a spatula until just combined—do not overmix.
06 - Gently fold in the grated carrots, raisins, and nuts (if using) until evenly distributed throughout the batter.
07 - Transfer the batter to the prepared pan. Use a spatula to spread it evenly, ensuring the surface is level.
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 into squares and serving. This ensures proper texture and easier cutting.