Cook the Sweet Potatoes:
Heat the olive oil in a large skillet over medium heat. Add the diced sweet potatoes and season with salt, pepper, and any optional spices you like. Cook, stirring occasionally, for 10-12 minutes until the sweet potatoes are tender and crispy on the edges.
Add the Onion and Spinach:
Add the diced onion to the skillet and cook for another 3-4 minutes, until softened. Then add the spinach and cook for 1-2 minutes until wilted. Stir everything to combine, and season with more salt and pepper if needed.
Fry the Eggs:
While the hash is cooking, heat a small amount of oil in another skillet over medium-low heat. Crack the eggs into the skillet and cook until the whites are set but the yolks remain runny (about 3-4 minutes). For a more cooked egg, cover the skillet with a lid and cook for a few extra minutes.
Assemble the Dish:
Spoon the sweet potato and spinach hash onto plates. Gently place a sunny side up egg on top of each serving.
Serve:
Season with additional salt, pepper, or red pepper flakes for extra heat, and enjoy!