발단 사이드바로 메뉴를 클릭하면 특정 위치로 옮기는 기능을 구현하던 중, 정확하게 컴포넌트의 클래스나 id를 맞추어도 구상한대로 이벤트가 작동하지 않는 이슈가 있었다. 해결 과정 1. 로직 확인 scrollToComponent() { const componentName = this.$route.name; if (componentName) { const componentId = this.getComponentName(componentName); const componentData = document.querySelector(`#${componentId}`); if (componentData) { const yOffset = componentData.getBoundingClientRect().top; win..