[Vuejs]-Vue class binding with strings?

0👍

try the following

var app = new Vue({
  el: '#app', // the id of the div that you will apply this object on it
  data : {
    target: '',
    myString: '',
  }
})

Leave a comment