You can compost vegetables in any form: scraps, peels, raw, cooked, and even rotten.