How can I target a nodeList in vuejs? querySelectorAll returns undefined. I'm only able to target an element using this.$refs
Targeting DOM elements in vuejs
I just solve it. I used the mounted life cycle hook. I targeted in the mounted hook and it worked.