It depends on how the unit vectors are defined as to whether or not you differentiate them. eg. The unit vectors i, j, k do not get differentiated. If the direction of your unit vectors does not change with time, then you only differentiate the components. I'm sure your textbook or class notes will have examples to follow.