Finely chop the cabbage, carrot, and onion.
Add cooking oil to a pan and stir-fry the onion and carrot.
Add the cabbage and stir-fry together.
Add the rice and stir-fry, mixing well with the other ingredients.
Season with soy sauce, salt, and pepper to finish.