add new class to vue element code example Example: dynamically bind class name in vue This is how you add dynamic classes in Vue.