Cut the beef and onions into bite-sized pieces.
Heat some cooking oil in a pan and sauté the onions.
Add the beef and stir-fry until it changes color.
Season with soy sauce, sugar, and cooking wine.
Stir-fry until the sauce thickens.
Serve the beef and onions over rice.