Heat olive oil in a large skillet over medium-high heat.
- Add gnocchi in a single layer and cook, stirring occasionally, until golden and crispy, about 5-7 minutes.
- Remove gnocchi from the skillet and set aside.
- In the same skillet, add mushrooms and sauté until browned and tender, about 6-8 minutes.
- Add garlic and cook for 1 minute until fragrant.
- Pour in vegetable broth or white wine to deglaze the pan, scraping up browned bits.
- Return gnocchi to the skillet and toss to combine, cooking for another 2-3 minutes until heated through.
- Stir in Parmesan cheese and fresh herbs; season with salt and pepper.
- Garnish with parsley or basil if desired and serve warm.