directive for Vue2.0