Whisk the flour, baking powder, cinnamon, nutmeg and salt together in a bowl.Whisk the egg, sweet potato, milk, maple syrup, coconut oil and vanilla together in a second bowl. Add the dry ingredients to the wet ingredients and stir until just combined.Heat a large skillet or griddle over medium heat and lightly coat with oil or butter. Pour the batter into the skillet using about 3 tablespoons of batter for each pancake. Cook about 2 minutes until the pancakes start to bubble at the edges and the bottoms are golden brown. Flip and cook another 1-2 minutes on the second side. Remove from skillet and repeat with the remaining batter.Serve pancakes plain or topped with butter and maple syrup.