Wash the napa cabbage thoroughly and cut it into bite-sized pieces.
Remove excess water from the tofu and crumble or dice it.
Finely chop the onion and garlic.
Heat olive oil in a pan and sauté the onion and garlic.
Add tofu and napa cabbage, season with salt and pepper, and stir-fry lightly.
Transfer the sautéed ingredients to an oven-safe dish and sprinkle cheese on top.
Bake in a preheated oven at 200°C (392°F) for 10–15 minutes until the cheese becomes golden brown.