Peel and finely chop the onion and garlic; slice the sun-dried tomatoes into thin strips if not already julienned.
Heat a deep skillet or sauté pan over medium-high heat and add the oil reserved from the sun-dried tomato jar.
Add the chopped onion and cook for 3 to 4 minutes until softened, then add the garlic and cook for 30 seconds more.
Sprinkle the flour over the onions and stir for about 1 minute to cook the flour.
Slowly pour in the vegetable broth while stirring constantly to avoid lumps.
Add the sliced sun-dried tomatoes and tomato paste, stir to combine, then bring the mixture to a gentle simmer and cook for 5 minutes.
Stir in the heavy cream, Italian herbs, salt and black pepper, then add the gnocchi and mix to coat.
Cover the pan, reduce heat to medium, and cook for 6 to 7 minutes until the gnocchi are cooked through and tender.
Remove the lid, stir in the grated Parmesan and fresh spinach, and cook for about 1 minute until the spinach wilts and the cheese melts.
Taste and adjust seasoning, then serve topped with fresh basil and extra Parmesan.