Pass data variable as argument in style section of vue2 – Jquery
let's we have a data variable and i want to use this data variable for my style. data() { return{ selected:{ index: 2 } } } <style> .parent-table >>> .table-row:nth-child(/* here i want to pass selected.index */) { background: red;…