This is not the correct way to get elements from inside a component, this is the the correct way:
<template><divref="referenceElement"></div></template><script>exportdefault{name:"FakeComponent",mounted(){this.$refs["referenceElement"]// This is the correct way to get the internal dom elems!}}</script>
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This is not the correct way to get elements from inside a component, this is the the correct way: