태그에 Ref 속성으로 문자열(위 예제에서는 inputName)로 값을 넣어 주면, 이후 script 태그에서 해당 태그에 접근을 할 수가 있다. this.$refs.inputName // 이처럼 input 태그에 접근을 할 수가 있다.