Cut in half and then slice the onions and courgette with slices of even thickness.
Peel and slice the garlic.
In a pan, heat the oil and add the bay leaf and peppercorns.
Add the onions and garlic, and fry over medium heat; we want the onions and garlic to soften without changing colour.
Once the onions are soft, add the courgettes, season with salt, and cook until the courgettes are soft.
Remove from the heat and transfer to a blender (along with the water released from the courgettes during cooking) and blend to a smooth puree.
Cook the pasta to al dente.
Over medium heat, bring back the courgette puree to the pan, and add a bit of the pasta water.
Add the pasta and mix—season as desired.
Add olives/oven-dried tomatoes or whatever else you wish to add and mix well.
Serve hot garnished with more tomatoes and vegan parmesan cheese.