Cook the ravioli according to the package instructions. Drain and set aside.
In a large skillet, heat olive oil over medium heat. Sauté garlic and onion until fragrant and soft, about 3–4 minutes.
Add sun-dried tomatoes and stir for 2 minutes, letting them warm through.
Pour in vegetable broth and coconut cream. Add red pepper flakes, salt, and pepper. Stir and let it simmer for 4–5 minutes.
Add spinach and cook until wilted.
Toss in the cooked ravioli and stir to coat in the sauce. Sprinkle with parmesan if using.
Serve hot, garnished with fresh herbs.