Preheat your oven to 350°F (175°C). Grease and flour two 8-inch round cake pans or line them with parchment paper for easy removal.
Cake: In a large mixing bowl, whisk together the all-purpose flour, granulated sugar, baking powder, baking soda, salt, ground cinnamon, and ground nutmeg.
In a separate bowl, mix together the vegetable oil, grated carrots, unsweetened applesauce, and vanilla extract.
Gradually add the wet ingredients to the dry ingredients and mix until well combined. If using, fold in the chopped walnuts or pecans and raisins.
Divide the cake batter evenly between the prepared cake pans.
Bake the cakes in the preheated oven for about 30-35 minutes, or until a toothpick inserted into the center of the cakes comes out clean.
Remove the cakes from the oven and let them cool in the pans for a few minutes before transferring them to a wire rack to cool completely.
Vegan Cream Cheese Frosting: In a mixing bowl, beat the vegan cream cheese and softened vegan butter until creamy and well combined.
Gradually add the powdered sugar and continue to beat until the frosting is smooth and fluffy.
Stir in the vanilla extract.
Once the cakes are completely cooled, spread a layer of the vegan cream cheese frosting on top of one cake layer.
Place the second cake layer on top and frost the top and sides of the cake with the remaining cream cheese frosting.
Optional: Garnish the cake with additional grated carrots, chopped nuts, or edible flowers.
Slice and enjoy your delicious vegan carrot cake!