01 - Bring a large pot of salted water to a boil. Cook the gnocchi according to package instructions until they float to the surface, about 2–3 minutes. Drain and set aside.
02 - Meanwhile, heat olive oil in a large skillet over medium heat. Add onion and sauté until translucent, about 3 minutes. Add garlic and cook for 1 minute until fragrant.
03 - Add the spinach and cook until wilted, about 2 minutes.
04 - Pour in heavy cream and vegetable broth. Stir to combine and bring to a gentle simmer.
05 - Add crumbled feta and grated Parmesan (if using). Stir until the cheese is partially melted and the sauce thickens slightly. Season with salt, black pepper, and a pinch of nutmeg (if desired).
06 - Gently fold in the cooked gnocchi, tossing until they are well coated in the sauce and heated through. Serve immediately, garnished with extra feta and black pepper if desired.