vue obtive elemento por id

<!-- In template -->
<div id="myDiv" ref="myDiv">This is a div</div>

<!-- In script, inside a function or wherever you need it -->
<script>
	myDiv = this.$refs.myDiv
</script>
NachooCh