add the oil or butter. when the oil is hot, add the onions, sprinkle them with the salt, and cook until the onions soften and wilt, about 3 minutes. add the cabbage and stir to combine. reduce the heat to low, cover, and cook until the vegetables are extremely tender about 30 minutes.