We demonstrate a two-component detection of a coherent population trapping (CPT) resonance based on virtually imaged phased array (VIPA). After passing through a VIPA, the two coupling lights with different frequencies in the CPT experiment are separated