Slice zucchini, eggplant, tomato, and onion thinly.
Heat olive oil in a pan and sauté onion and garlic.
Add zucchini, eggplant, and tomato to the pan and season with salt and pepper.
Cover with a lid and cook over medium-low heat for 15 minutes.
Plate the dish and garnish with basil.