'How can i add prorerty to <div> or some component dynamycally at Vue, like :src="var" or v-model="var"?

I new to Vue.
At JS i can get element and add some property

someElement = document.getElementById('input-first-name')
someElement.style.color = 'green'

or src="", id=""

How can i add dynamically to <div> property :src="var", v-model="var" or v-if(condition1 === condition2)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source