vue-debug-guides
vuejs-ai/skills
목표에 맞춘 디버깅 가이드를 통해 Vue 3의 런타임 오류, 경고, 비동기 오류 및 SSR/하이드레이션 문제를 진단하고 해결하세요.
...모든 것을 확장하십시오Vue 3의 런타임 문제, 경고, 비동기 오류 및 하이드레이션 버그에 대한 디버깅 및 오류 처리.
개발 모범 사례와 흔히 발생하는 주의사항에 대해서는 vue-best-practices를 참조하세요.
반응성
- 예기치 않은 재렌더링 및 상태 업데이트 추적 → reactivity-debugging-hooks 참조
- .value 액세스가 누락되어 ref 값이 업데이트되지 않는 경우 → ref-value-access 참조
- 반응형 객체를 해체한 후 상태가 더 이상 업데이트되지 않는 경우 → reactive-destructuring 참조
- 배열, 맵 또는 세트 내의 ref가 언랩되지 않는 경우 → refs-in-collections-need-value 참조
- 템플릿에서 중첩된 ref가 [object Object]로 렌더링됨 → template-ref-unwrapping-top-level 참조
- Reactive 프록시의 동일성 비교 결과가 항상 false로 반환됨 → reactivity-proxy-identity-hazard 참조
- 프록시 처리 시 타사 인스턴스가 작동하지 않음 → reactivity-markraw-for-non-reactive 참조
- 워처가 틱당 한 번만 예기치 않게 발동됨 → reactivity-same-tick-batching 참조
계산된
- 컴퓨티드 게터가 예기치 않게 변형이나 요청을 트리거함 → computed-no-side-effects 참조
- 계산된 값을 변경하면 변경 사항이 사라짐 → computed-return-value-readonly 참조
- 조건부 논리 실행 후 계산된 값이 절대 업데이트되지 않음 → computed-conditional-dependencies 참조
- 배열을 정렬하거나 역순으로 바꾸면 원래 상태가 깨짐 → computed-array-mutation 참조
- 계산된 속성에 매개변수를 전달하는 데 실패합니다 → computed-no-parameters 참조
감시자
- 비동기 작업이 오래된 데이터로 덮어쓰기 → watch-async-cleanup 참조
- 비동기 콜백 내부에서 워처 생성 → watch-async-creation-memory-leak 참조
- 반응형 객체 속성에 대해 워처가 절대 트리거되지 않음 → watch-reactive-property-getter 참조
- 비동기 watchEffect가 await 이후의 종속성을 놓침 → watcheffect-async-dependency-tracking 참조
- 워처 콜백 내부의 DOM 읽기 값이 오래된 값임 → watch-flush-timing 참조
- 심층 워처에서 동일하고 오래된/새로운 값이 보고됨 → watch-deep-same-object-reference 참조
- watchEffect가 템플릿 참조가 업데이트되기 전에 실행됨 → watcheffect-flush-post-for-refs 참조
컴포넌트
- 자식 컴포넌트에서 "component not found" 오류가 발생함 → local-components-not-in-descendants 참조
- 사용자 정의 컴포넌트에서 클릭 리스너가 실행되지 않음 → click-events-on-components 참조
- 스크립트 설정에서 부모가 자식 ref 데이터에 접근할 수 없음 → component-ref-requires-defineexpose 참조
- HTML 템플릿 파싱으로 인해 Vue 컴포넌트 구문이 깨짐 → in-dom-template-parsing-caveats 참조
- 이름 충돌로 인해 잘못된 컴포넌트가 렌더링됨 → ‘component-naming-conflicts’ 참조
- 다중 루트 컴포넌트에 부모의 스타일이 적용되지 않음 → multi-root-component-class-attrs 참조
Props 및 Emits
- defineProps에서 참조된 변수로 인해 오류 발생 → prop-defineprops-scope-limitation 참조
- 컴포넌트가 선언되지 않은 이벤트를 emit하여 경고가 발생함 → declare-emits-for-documentation 참조
- 함수나 조건문 내에서 defineEmits가 사용됨 → defineEmits-must-be-top-level 참조
- defineEmits에 타입 인자와 런타임 인자가 모두 있음 → defineEmits-no-runtime-and-type-mixed 참조네이티브 이벤트 리스너가 클릭에 반응하지 않음 → native-event-collision-with-emits 참조
- 네이티브 이벤트 리스너가 클릭에 반응하지 않음 → native-event-collision-with-emits 참조
- 클릭 시 컴포넌트 이벤트가 두 번 발생함 → undeclared-emits-double-firing 참조
템플릿
- 문장으로 인해 템플릿 컴파일 오류가 발생함 → template-expressions-restrictions 참조
- "Cannot read property of undefined" 런타임 오류 → v-if-null-check-order 참조
- 동적 지시어 인수가 제대로 작동하지 않음 → dynamic-argument-constraints 참조
- v-else 요소가 무조건 항상 렌더링됨 → v-else-must-follow-v-if 참조
- v-if와 v-for를 함께 사용하면 우선순위 버그 및 마이그레이션 오류가 발생함 → no-v-if-with-v-for 참조
- 상태를 변경하는 템플릿 함수 호출로 인해 예측 불가능한 재렌더링 버그 발생 → template-functions-no-side-effects 참조
- 루프 내의 자식 컴포넌트에 정의되지 않은 데이터가 표시됨 → v-for-component-props 참조
- 정렬 또는 역순 처리 후 배열 순서가 변경됨 → v-for-computed-reverse-sort 참조
- 목록 항목이 예기치 않게 사라지거나 상태가 바뀌는 현상 → v-for-key-attribute 참조
- 범위 반복 시 ‘off-by-one’ 오류 발생 → v-for-range-starts-at-one 참조
- 템플릿 요소에서 v-show 또는 v-else가 작동하지 않음 → v-show-template-limitation 참조
템플릿 참조
- 요소가 조건부로 숨겨지면 Ref가 null이 됨 → template-ref-null-with-v-if 참조
- 루프에서 Ref 배열 인덱스가 데이터 배열과 일치하지 않음 → template-ref-v-for-order 참조
- 템플릿 ref 이름을 리팩토링하면 코드에서 아무런 오류 메시지 없이 작동이 중단됨 → use-template-ref-vue35 참조
폼 및 v-model
- v-model 사용 시 폼의 초기값이 표시되지 않음 → v-model-ignores-html-attributes 참조
- textarea 내용이 변경되어도 ref가 업데이트되지 않음 → textarea-no-interpolation 참조
- iOS 사용자가 드롭다운의 첫 번째 옵션을 선택할 수 없음 → select-initial-value-ios-bug 참조
- 부모 및 자식 컴포넌트의 값이 서로 다름 → define-model-default-value-sync 참조
- 객체 속성 변경 사항이 부모 컴포넌트에 동기화되지 않음 → definemodel-object-mutation-no-emit 참조
- 중국어/일본어 입력 시 실시간 검색/유효성 검사 오류 → v-model-ime-composition 참조
- 숫자 입력 시 0 대신 빈 문자열이 반환됨 → v-model-number-modifier-behavior 참조
- 양식 제출 시 사용자 정의 체크박스 값이 전송되지 않음 → checkbox-true-false-value-form-submission 참조
이벤트 및 수정자
- 여러 이벤트 수정자를 연쇄적으로 적용하면 예상치 못한 결과가 발생함 → event-modifier-order-matters 참조
- 시스템 수정 키를 사용해도 키보드 단축키가 작동하지 않음 → keyup-modifier-timing 참조
- 의도하지 않은 수정자 조합으로 키보드 단축키가 실행됨 → exact-modifier-for-precise-shortcuts 참조
- passive 및 prevent 수정자를 함께 사용하면 이벤트 동작이 깨짐 → no-passive-with-prevent 참조
라이프사이클
- 제거되지 않은 이벤트 리스너로 인한 메모리 누수 → cleanup-side-effects 참조
- 컴포넌트 마운트 전에 DOM 액세스가 실패함 → lifecycle-dom-access-timing 참조
- 상태 변경 후 DOM 읽기 시 오래된 값이 반환됨 → dom-update-timing-nexttick 참조
- SSR 렌더링이 클라이언트 측 하이드레이션과 다름 → lifecycle-ssr-awareness 참조
- 비동기적으로 등록된 라이프사이클 훅이 절대 실행되지 않음 → ‘라이프사이클 훅의 동기적 등록’ 참조
슬롯
- 슬롯 콘텐츠에서 자식 컴포넌트 데이터에 액세스하면 정의되지 않은 값이 반환됨 → slot-render-scope-parent-only 참조
- 명명된 슬롯과 범위 지정 슬롯을 함께 사용하면 컴파일 오류가 발생합니다 → slot-named-scoped-explicit-default 참조
- 네이티브 HTML 요소에서 v-slot을 사용하면 컴파일 오류가 발생합니다 → slot-v-slot-on-components-or-templates-only 참조
- 암시적 기본 슬롯 동작으로 인해 예상치 못한 콘텐츠 배치 발생 → slot-implicit-default-content 참조
- 범위 지정 슬롯 프로퍼티에서 예상된 name 속성이 누락됨 → slot-name-reserved-prop 참조
- 자식 슬롯 기능을 방해하는 래퍼 컴포넌트 → slot-forwarding-to-child-components 참조
Provide/Inject
- 비동기 작업 후 provide 호출 시 오류 메시지가 표시되지 않음 → provide-inject-synchronous-setup 참조
- 제공된 값의 출처 추적 → provide-inject-debugging-challenges 참조
- 프로바이더가 변경되어도 주입된 값이 업데이트되지 않음 → provide-inject-reactivity-not-automatic 참조
- 여러 컴포넌트가 동일한 기본 객체를 공유함 → provide-inject-default-value-factory 참조
속성
- 내부 및 폴스루 이벤트 핸들러가 모두 실행됨 → attrs-event-listener-merging 참조
- 폴스루 값에 의해 명시적 속성이 덮어쓰임 → fallthrough-attrs-overwrite-vue3 참조
- 래퍼에서 속성이 잘못된 요소에 적용됨 → inheritattrs-false-for-wrapper-components 참조
컴포저블
- setup 컨텍스트 외부에서 또는 비동기적으로 호출된 컴포저블 → composable-call-location-restrictions 참조
- 입력이 변경되었을 때 컴포저블의 반응형 종속성이 업데이트되지 않음 → composable-tovalue-inside-watcheffect 참조
- 컴포저블이 예상치 못하게 외부 상태를 변경함 → composable-avoid-hidden-side-effects 참조
- 컴포저블 반환값을 구조 분해하면 예기치 않게 반응성이 깨짐 → composable-naming-return-pattern 참조
컴포지션 API
- 비동기 작업 후 라이프사이클 훅이 아무런 오류 메시지 없이 실패함 → composition-api-script-setup-async-context 참조
- 상위 컴포넌트의 ref가 노출된 속성에 접근할 수 없음 → define-expose-before-await 참조
- 함수형 프로그래밍 패턴이 예상되는 Vue 반응성 동작을 방해함 → composition-api-not-functional-programming 참조
- React Hook의 사고 모델로 인해 Composition API가 잘못 사용됨 → composition-api-vs-react-hooks-differences 참조
애니메이션
- DOM 노드가 재사용될 때 애니메이션이 트리거되지 않음 → animation-key-for-rerender 참조
- 부하가 걸리면 TransitionGroup 목록 업데이트가 느리게 느껴짐 → animation-transitiongroup-performance 참조
TypeScript
- 변경 가능한 prop 기본값으로 인해 컴포넌트 인스턴스 간에 상태가 누출됨 → ts-withdefaults-mutable-factory-function 참조
- reactive() 제네릭 타입 지정으로 인해 ref 언래핑 불일치가 발생함 → ts-reactive-no-generic-argument 참조
- 마운트 전이나 v-if를 통한 언마운트 후에 템플릿 ref에서 null 액세스 오류가 발생합니다 → ts-template-ref-null-handling 참조
- 선택적 부울 프로퍼티가 undefined 대신 false로 동작함 → ts-defineprops-boolean-default-false 참조
- 가져온 defineProps 유형에서 해결할 수 없거나 복잡한 유형 참조로 인해 오류 발생 → ts-defineprops-imported-types-limitations 참조
- 엄격한 TypeScript 설정에서 유형이 지정되지 않은 DOM 이벤트 핸들러가 실패함 → ts-event-handler-explicit-typing 참조
- 동적 컴포넌트 ref가 반응형 컴포넌트 경고를 유발함 → ts-shallowref-for-dynamic-components 참조
- 좁히기(narrowing) 없이 유니온 타입 템플릿 표현식이 타입 검사에서 실패함 → ts-template-type-casting 참조
비동기 컴포넌트
- defineAsyncComponent 지연 로딩을 잘못 구성한 라우트 컴포넌트 → async-component-vue-router 참조
- 컴포넌트 로딩 시 네트워크 오류 또는 타임아웃 발생 → async-component-error-handling 참조
- 컴포넌트 재활성화 후 템플릿 참조가 정의되지 않음 → async-component-keepalive-ref-issue 참조
렌더 함수
- 상태가 변경된 후에도 렌더 함수 출력이 변하지 않음 → rendering-render-function-return-from-setup 참조
- 재사용된 vnode 인스턴스가 올바르게 렌더링되지 않음 → render-function-vnodes-must-be-unique 참조
- 문자열 컴포넌트 이름이 HTML 요소로 렌더링됨 → rendering-resolve-component-for-string-names 참조
- Vue 업데이트 시 vnode 내부에 접근하면 오류가 발생함 → render-function-avoid-internal-vnode-properties 참조
- Vue 2 렌더 함수 패턴이 Vue 3에서 오류 발생 → rendering-render-function-h-import-vue3 참조
- h()에서 슬롯 콘텐츠가 렌더링되지 않음 → rendering-render-function-slots-as-functions 참조
KeepAlive
- 중첩된 Vue Router 경로로 인해 자식 컴포넌트가 두 번 마운트됨 → keepalive-router-nested-double-mount 참조
- KeepAlive와 Transition 애니메이션을 함께 사용하면 메모리 사용량이 증가함 → keepalive-transition-memory-leak 참조
전환
- done 콜백이 없으면 JavaScript 전환 훅이 멈춤 → transition-js-hooks-done-callback 참조
- 인라인 목록 요소에서 이동 애니메이션이 실패합니다 → transition-group-flip-inline-elements 참조
- 목록 항목이 부드럽게 애니메이션되지 않고 갑자기 이동합니다 → transition-group-move-animation-position-absolute 참조
- Vue 2에서 Vue 3으로의 TransitionGroup 래퍼 변경으로 인해 레이아웃이 깨짐 → transition-group-no-default-wrapper-vue3 참조
- 중첩된 전환이 완료되기 전에 중단됨 → transition-nested-duration 참조
- 재사용 가능한 트랜지션 래퍼에서 범위 지정된 스타일이 작동하지 않음 → transition-reusable-scoped-style 참조
- 첫 렌더링 시 RouterView 전환이 예기치 않게 애니메이션됨 → transition-router-view-appear 참조
- CSS 전환과 애니메이션을 혼합하면 타이밍 문제가 발생함 → transition-type-when-mixed 참조
- 빠른 전환 교체 시 정리 훅이 누락됨 → transition-unmount-hook-timing 참조
텔레포트
- DOM에서 텔레포트 대상 요소를 찾을 수 없음 → teleport-target-must-exist 참조
- 텔레포트된 콘텐츠로 인해 SSR 하이드레이션이 중단됨 → teleport-ssr-hydration 참조
- 범위 지정된 스타일이 텔레포트된 콘텐츠에 적용되지 않음 → teleport-scoped-styles-limitation 참조
Suspense
- Suspense 컴포넌트에서 발생하는 비동기 오류를 처리해야 함 → suspense-no-builtin-error-handling 참조
- 서버 측 렌더링에서 Suspense 사용 → suspense-ssr-hydration-issues 참조
- Suspense 환경에서 비동기 컴포넌트 로딩/오류 UI가 무시됨 → async-component-suspense-control 참조
SSR
- 서버 렌더링과 클라이언트 렌더링 간 HTML 차이 → ssr-hydration-mismatch-causes 참조
- 공유 싱글톤 스토어에서 요청 간 사용자 상태 유출 → state-ssr-cross-request-pollution 참조
- 브라우저 전용 API로 인해 범용 코드 경로에서 서버 렌더링이 중단됨 → ssr-platform-specific-apis 참조
성능
- 부모가 불안정한 props를 전달하여 자식 요소가 불필요하게 재렌더링됨 → perf-props-stability-update-optimization 참조
- 동등한 값임에도 불구하고 계산된 객체가 이펙트를 재트리거함 → perf-computed-object-stability 참조
SFC(단일 파일 컴포넌트)
- 컴포넌트 스크립트 블록에서 명명된 내보내기를 사용하려고 시도함 → sfc-named-exports-forbidden 참조
- 변경 후 템플릿에서 변수가 업데이트되지 않음 → sfc-script-setup-reactivity 참조
- 범위 지정된 스타일이 자식 컴포넌트 요소에 적용되지 않음 → sfc-scoped-css-child-component-styling 참조
- 범위 지정된 스타일이 동적 v-html 콘텐츠에 적용되지 않음 → sfc-scoped-css-dynamic-content 참조
- 슬롯 콘텐츠에 범위 지정된 스타일이 적용되지 않음 → sfc-scoped-css-slot-content 참조
- 동적으로 생성될 때 Tailwind 클래스가 누락됨 → tailwind-dynamic-class-generation 참조
- 이름 충돌로 인해 재귀 컴포넌트가 렌더링되지 않음 → self-referencing-component-name 참조
플러그인
- 글로벌 속성이 이름 충돌을 일으키는 이유 디버깅 → plugin-global-properties-sparingly 참조
- 플러그인이 작동하지 않거나 inject가 undefined를 반환함 → plugin-install-before-mount 참조
- 설정 기반 컴포넌트에서 플러그인 전역 속성을 사용할 수 없음 → plugin-prefer-provide-inject-over-global-properties 참조
- 플러그인 유형 확장 오류로 인해 ComponentCustomProperties의 타입 정의가 깨짐 → plugin-typescript-type-augmentation 참조
앱 구성
- mount 호출 후 앱 구성 메서드가 작동하지 않음 → configure-app-before-mount 참조
- mount()에서 앱 구성을 연쇄적으로 호출하는 것이 실패하는 이유는 mount가 컴포넌트 인스턴스를 반환하기 때문 → mount-return-value 참조
- Vite에서 require.context 기반 컴포넌트 자동 등록이 실패합니다 → dynamic-component-registration-vite 참조
---
name: vue-debug-guides
description: Diagnose and fix Vue 3 runtime errors, warnings, async failures, and SSR/hydration issues with targeted debugging guides.
---
Vue 3 debugging and error handling for runtime issues, warnings, async failures, and hydration bugs.
For development best practices and common gotchas, use `vue-best-practices`.
### Reactivity
- Tracing unexpected re-renders and state updates → See [reactivity-debugging-hooks](reference/reactivity-debugging-hooks.md)
- Ref values not updating due to missing .value access → See [ref-value-access](reference/ref-value-access.md)
- State stops updating after destructuring reactive objects → See [reactive-destructuring](reference/reactive-destructuring.md)
- Refs inside arrays, Maps, or Sets not unwrapping → See [refs-in-collections-need-value](reference/refs-in-collections-need-value.md)
- Nested refs rendering as [object Object] in templates → See [template-ref-unwrapping-top-level](reference/template-ref-unwrapping-top-level.md)
- Reactive proxy identity comparisons always return false → See [reactivity-proxy-identity-hazard](reference/reactivity-proxy-identity-hazard.md)
- Third-party instances breaking when proxied → See [reactivity-markraw-for-non-reactive](reference/reactivity-markraw-for-non-reactive.md)
- Watchers only firing once per tick unexpectedly → See [reactivity-same-tick-batching](reference/reactivity-same-tick-batching.md)
### Computed
- Computed getter triggers mutations or requests unexpectedly → See [computed-no-side-effects](reference/computed-no-side-effects.md)
- Mutating computed values causes changes to disappear → See [computed-return-value-readonly](reference/computed-return-value-readonly.md)
- Computed value never updates after conditional logic → See [computed-conditional-dependencies](reference/computed-conditional-dependencies.md)
- Sorting or reversing arrays breaks original state → See [computed-array-mutation](reference/computed-array-mutation.md)
- Passing parameters to computed properties fails → See [computed-no-parameters](reference/computed-no-parameters.md)
### Watchers
- Async operations overwriting with stale data → See [watch-async-cleanup](reference/watch-async-cleanup.md)
- Creating watchers inside async callbacks → See [watch-async-creation-memory-leak](reference/watch-async-creation-memory-leak.md)
- Watcher never triggers for reactive object properties → See [watch-reactive-property-getter](reference/watch-reactive-property-getter.md)
- Async watchEffect misses dependencies after await → See [watcheffect-async-dependency-tracking](reference/watcheffect-async-dependency-tracking.md)
- DOM reads are stale inside watcher callbacks → See [watch-flush-timing](reference/watch-flush-timing.md)
- Deep watchers report identical old/new values → See [watch-deep-same-object-reference](reference/watch-deep-same-object-reference.md)
- watchEffect runs before template refs update → See [watcheffect-flush-post-for-refs](reference/watcheffect-flush-post-for-refs.md)
### Components
- Child component throws "component not found" error → See [local-components-not-in-descendants](reference/local-components-not-in-descendants.md)
- Click listener doesn't fire on custom component → See [click-events-on-components](reference/click-events-on-components.md)
- Parent can't access child ref data in script setup → See [component-ref-requires-defineexpose](reference/component-ref-requires-defineexpose.md)
- HTML template parsing breaks Vue component syntax → See [in-dom-template-parsing-caveats](reference/in-dom-template-parsing-caveats.md)
- Wrong component renders due to naming collisions → See [component-naming-conflicts](reference/component-naming-conflicts.md)
- Parent styles don't apply to multi-root component → See [multi-root-component-class-attrs](reference/multi-root-component-class-attrs.md)
### Props & Emits
- Variables referenced in defineProps cause errors → See [prop-defineprops-scope-limitation](reference/prop-defineprops-scope-limitation.md)
- Component emits undeclared event causing warnings → See [declare-emits-for-documentation](reference/declare-emits-for-documentation.md)
- defineEmits used inside function or conditional → See [defineEmits-must-be-top-level](reference/defineEmits-must-be-top-level.md)
- defineEmits has both type and runtime arguments → See [defineEmits-no-runtime-and-type-mixed](reference/defineEmits-no-runtime-and-type-mixed.md)
- Native event listeners not responding to clicks → See [native-event-collision-with-emits](reference/native-event-collision-with-emits.md)
- Component event fires twice when clicking → See [undeclared-emits-double-firing](reference/undeclared-emits-double-firing.md)
### Templates
- Getting template compilation errors with statements → See [template-expressions-restrictions](reference/template-expressions-restrictions.md)
- "Cannot read property of undefined" runtime errors → See [v-if-null-check-order](reference/v-if-null-check-order.md)
- Dynamic directive arguments not working properly → See [dynamic-argument-constraints](reference/dynamic-argument-constraints.md)
- v-else elements rendering unconditionally always → See [v-else-must-follow-v-if](reference/v-else-must-follow-v-if.md)
- Mixing v-if with v-for causes precedence bugs and migration breakage → See [no-v-if-with-v-for](reference/no-v-if-with-v-for.md)
- Template function calls mutating state cause unpredictable re-render bugs → See [template-functions-no-side-effects](reference/template-functions-no-side-effects.md)
- Child components in loops showing undefined data → See [v-for-component-props](reference/v-for-component-props.md)
- Array order changing after sorting or reversing → See [v-for-computed-reverse-sort](reference/v-for-computed-reverse-sort.md)
- List items disappearing or swapping state unexpectedly → See [v-for-key-attribute](reference/v-for-key-attribute.md)
- Getting off-by-one errors with range iteration → See [v-for-range-starts-at-one](reference/v-for-range-starts-at-one.md)
- v-show or v-else not working on template elements → See [v-show-template-limitation](reference/v-show-template-limitation.md)
### Template Refs
- Ref becomes null when element is conditionally hidden → See [template-ref-null-with-v-if](reference/template-ref-null-with-v-if.md)
- Ref array indices don't match data array in loops → See [template-ref-v-for-order](reference/template-ref-v-for-order.md)
- Refactoring template ref names breaks silently in code → See [use-template-ref-vue35](reference/use-template-ref-vue35.md)
### Forms & v-model
- Initial form values not showing when using v-model → See [v-model-ignores-html-attributes](reference/v-model-ignores-html-attributes.md)
- Textarea content changes not updating the ref → See [textarea-no-interpolation](reference/textarea-no-interpolation.md)
- iOS users cannot select dropdown first option → See [select-initial-value-ios-bug](reference/select-initial-value-ios-bug.md)
- Parent and child components have different values → See [define-model-default-value-sync](reference/define-model-default-value-sync.md)
- Object property changes not syncing to parent → See [definemodel-object-mutation-no-emit](reference/definemodel-object-mutation-no-emit.md)
- Real-time search/validation broken for Chinese/Japanese input → See [v-model-ime-composition](reference/v-model-ime-composition.md)
- Number input returns empty string instead of zero → See [v-model-number-modifier-behavior](reference/v-model-number-modifier-behavior.md)
- Custom checkbox values not submitted in forms → See [checkbox-true-false-value-form-submission](reference/checkbox-true-false-value-form-submission.md)
### Events & Modifiers
- Chaining multiple event modifiers produces unexpected results → See [event-modifier-order-matters](reference/event-modifier-order-matters.md)
- Keyboard shortcuts don't fire with system modifier keys → See [keyup-modifier-timing](reference/keyup-modifier-timing.md)
- Keyboard shortcuts fire with unintended modifier combinations → See [exact-modifier-for-precise-shortcuts](reference/exact-modifier-for-precise-shortcuts.md)
- Combining passive and prevent modifiers breaks event behavior → See [no-passive-with-prevent](reference/no-passive-with-prevent.md)
### Lifecycle
- Memory leaks from unremoved event listeners → See [cleanup-side-effects](reference/cleanup-side-effects.md)
- DOM access fails before component mounts → See [lifecycle-dom-access-timing](reference/lifecycle-dom-access-timing.md)
- DOM reads return stale values after state changes → See [dom-update-timing-nexttick](reference/dom-update-timing-nexttick.md)
- SSR rendering differs from client hydration → See [lifecycle-ssr-awareness](reference/lifecycle-ssr-awareness.md)
- Lifecycle hooks registered asynchronously never run → See [lifecycle-hooks-synchronous-registration](reference/lifecycle-hooks-synchronous-registration.md)
### Slots
- Accessing child component data in slot content returns undefined values → See [slot-render-scope-parent-only](reference/slot-render-scope-parent-only.md)
- Mixing named and scoped slots together causes compilation errors → See [slot-named-scoped-explicit-default](reference/slot-named-scoped-explicit-default.md)
- Using v-slot on native HTML elements causes compilation errors → See [slot-v-slot-on-components-or-templates-only](reference/slot-v-slot-on-components-or-templates-only.md)
- Unexpected content placement from implicit default slot behavior → See [slot-implicit-default-content](reference/slot-implicit-default-content.md)
- Scoped slot props missing expected name property → See [slot-name-reserved-prop](reference/slot-name-reserved-prop.md)
- Wrapper components breaking child slot functionality → See [slot-forwarding-to-child-components](reference/slot-forwarding-to-child-components.md)
### Provide/Inject
- Calling provide after async operations fails silently → See [provide-inject-synchronous-setup](reference/provide-inject-synchronous-setup.md)
- Tracing where provided values come from → See [provide-inject-debugging-challenges](reference/provide-inject-debugging-challenges.md)
- Injected values not updating when provider changes → See [provide-inject-reactivity-not-automatic](reference/provide-inject-reactivity-not-automatic.md)
- Multiple components share same default object → See [provide-inject-default-value-factory](reference/provide-inject-default-value-factory.md)
### Attrs
- Both internal and fallthrough event handlers execute → See [attrs-event-listener-merging](reference/attrs-event-listener-merging.md)
- Explicit attributes overwritten by fallthrough values → See [fallthrough-attrs-overwrite-vue3](reference/fallthrough-attrs-overwrite-vue3.md)
- Attributes applying to wrong element in wrappers → See [inheritattrs-false-for-wrapper-components](reference/inheritattrs-false-for-wrapper-components.md)
### Composables
- Composable called outside setup context or asynchronously → See [composable-call-location-restrictions](reference/composable-call-location-restrictions.md)
- Composable reactive dependency not updating when input changes → See [composable-tovalue-inside-watcheffect](reference/composable-tovalue-inside-watcheffect.md)
- Composable mutates external state unexpectedly → See [composable-avoid-hidden-side-effects](reference/composable-avoid-hidden-side-effects.md)
- Destructuring composable returns breaks reactivity unexpectedly → See [composable-naming-return-pattern](reference/composable-naming-return-pattern.md)
### Composition API
- Lifecycle hooks failing silently after async operations → See [composition-api-script-setup-async-context](reference/composition-api-script-setup-async-context.md)
- Parent component refs unable to access exposed properties → See [define-expose-before-await](reference/define-expose-before-await.md)
- Functional-programming patterns break expected Vue reactivity behavior → See [composition-api-not-functional-programming](reference/composition-api-not-functional-programming.md)
- React Hook mental model causes incorrect Composition API usage → See [composition-api-vs-react-hooks-differences](reference/composition-api-vs-react-hooks-differences.md)
### Animation
- Animations fail to trigger when DOM nodes are reused → See [animation-key-for-rerender](reference/animation-key-for-rerender.md)
- TransitionGroup list updates feel laggy under load → See [animation-transitiongroup-performance](reference/animation-transitiongroup-performance.md)
### TypeScript
- Mutable prop defaults leak state between component instances → See [ts-withdefaults-mutable-factory-function](reference/ts-withdefaults-mutable-factory-function.md)
- reactive() generic typing causes ref unwrapping mismatches → See [ts-reactive-no-generic-argument](reference/ts-reactive-no-generic-argument.md)
- Template refs throw null access errors before mount or after v-if unmount → See [ts-template-ref-null-handling](reference/ts-template-ref-null-handling.md)
- Optional boolean props behave as false instead of undefined → See [ts-defineprops-boolean-default-false](reference/ts-defineprops-boolean-default-false.md)
- Imported defineProps types fail with unresolvable or complex type references → See [ts-defineprops-imported-types-limitations](reference/ts-defineprops-imported-types-limitations.md)
- Untyped DOM event handlers fail under strict TypeScript settings → See [ts-event-handler-explicit-typing](reference/ts-event-handler-explicit-typing.md)
- Dynamic component refs trigger reactive component warnings → See [ts-shallowref-for-dynamic-components](reference/ts-shallowref-for-dynamic-components.md)
- Union-typed template expressions fail type checks without narrowing → See [ts-template-type-casting](reference/ts-template-type-casting.md)
### Async Components
- Route components misconfigured with defineAsyncComponent lazy loading → See [async-component-vue-router](reference/async-component-vue-router.md)
- Network failures or timeouts loading components → See [async-component-error-handling](reference/async-component-error-handling.md)
- Template refs undefined after component reactivation → See [async-component-keepalive-ref-issue](reference/async-component-keepalive-ref-issue.md)
### Render Functions
- Render function output stays static after state changes → See [rendering-render-function-return-from-setup](reference/rendering-render-function-return-from-setup.md)
- Reused vnode instances render incorrectly → See [render-function-vnodes-must-be-unique](reference/render-function-vnodes-must-be-unique.md)
- String component names render as HTML elements → See [rendering-resolve-component-for-string-names](reference/rendering-resolve-component-for-string-names.md)
- Accessing vnode internals breaks on Vue updates → See [render-function-avoid-internal-vnode-properties](reference/render-function-avoid-internal-vnode-properties.md)
- Vue 2 render function patterns crash in Vue 3 → See [rendering-render-function-h-import-vue3](reference/rendering-render-function-h-import-vue3.md)
- Slot content not rendering from h() → See [rendering-render-function-slots-as-functions](reference/rendering-render-function-slots-as-functions.md)
### KeepAlive
- Child components mount twice with nested Vue Router routes → See [keepalive-router-nested-double-mount](reference/keepalive-router-nested-double-mount.md)
- Memory grows when combining KeepAlive with Transition animations → See [keepalive-transition-memory-leak](reference/keepalive-transition-memory-leak.md)
### Transitions
- JavaScript transition hooks hang without done callback → See [transition-js-hooks-done-callback](reference/transition-js-hooks-done-callback.md)
- Move animations fail on inline list elements → See [transition-group-flip-inline-elements](reference/transition-group-flip-inline-elements.md)
- List items jump instead of smoothly animating → See [transition-group-move-animation-position-absolute](reference/transition-group-move-animation-position-absolute.md)
- Vue 2 to Vue 3 TransitionGroup wrapper changes break layout → See [transition-group-no-default-wrapper-vue3](reference/transition-group-no-default-wrapper-vue3.md)
- Nested transitions cut off before finishing → See [transition-nested-duration](reference/transition-nested-duration.md)
- Scoped styles stop working in reusable transition wrappers → See [transition-reusable-scoped-style](reference/transition-reusable-scoped-style.md)
- RouterView transitions animate unexpectedly on first render → See [transition-router-view-appear](reference/transition-router-view-appear.md)
- Mixing CSS transitions and animations causes timing issues → See [transition-type-when-mixed](reference/transition-type-when-mixed.md)
- Cleanup hooks missed during rapid transition swaps → See [transition-unmount-hook-timing](reference/transition-unmount-hook-timing.md)
### Teleport
- Teleport target element not found in DOM → See [teleport-target-must-exist](reference/teleport-target-must-exist.md)
- Teleported content breaks SSR hydration → See [teleport-ssr-hydration](reference/teleport-ssr-hydration.md)
- Scoped styles not applying to teleported content → See [teleport-scoped-styles-limitation](reference/teleport-scoped-styles-limitation.md)
### Suspense
- Need to handle async errors from Suspense components → See [suspense-no-builtin-error-handling](reference/suspense-no-builtin-error-handling.md)
- Using Suspense with server-side rendering → See [suspense-ssr-hydration-issues](reference/suspense-ssr-hydration-issues.md)
- Async component loading/error UI ignored under Suspense → See [async-component-suspense-control](reference/async-component-suspense-control.md)
### SSR
- HTML differs between server and client renders → See [ssr-hydration-mismatch-causes](reference/ssr-hydration-mismatch-causes.md)
- User state leaks between requests from shared singleton stores → See [state-ssr-cross-request-pollution](reference/state-ssr-cross-request-pollution.md)
- Browser-only APIs crash server rendering in universal code paths → See [ssr-platform-specific-apis](reference/ssr-platform-specific-apis.md)
### Performance
- List children re-render unnecessarily because parent passes unstable props → See [perf-props-stability-update-optimization](reference/perf-props-stability-update-optimization.md)
- Computed objects retrigger effects despite equivalent values → See [perf-computed-object-stability](reference/perf-computed-object-stability.md)
### SFC (Single File Components)
- Trying to use named exports from component script blocks → See [sfc-named-exports-forbidden](reference/sfc-named-exports-forbidden.md)
- Variables not updating in template after changes → See [sfc-script-setup-reactivity](reference/sfc-script-setup-reactivity.md)
- Scoped styles not applying to child component elements → See [sfc-scoped-css-child-component-styling](reference/sfc-scoped-css-child-component-styling.md)
- Scoped styles not applying to dynamic v-html content → See [sfc-scoped-css-dynamic-content](reference/sfc-scoped-css-dynamic-content.md)
- Scoped styles not applying to slot content → See [sfc-scoped-css-slot-content](reference/sfc-scoped-css-slot-content.md)
- Tailwind classes missing when built dynamically → See [tailwind-dynamic-class-generation](reference/tailwind-dynamic-class-generation.md)
- Recursive components not rendering due to name conflicts → See [self-referencing-component-name](reference/self-referencing-component-name.md)
### Plugins
- Debugging why global properties cause naming conflicts → See [plugin-global-properties-sparingly](reference/plugin-global-properties-sparingly.md)
- Plugin not working or inject returns undefined → See [plugin-install-before-mount](reference/plugin-install-before-mount.md)
- Plugin global properties are unavailable in setup-based components → See [plugin-prefer-provide-inject-over-global-properties](reference/plugin-prefer-provide-inject-over-global-properties.md)
- Plugin type augmentation mistakes break ComponentCustomProperties typing → See [plugin-typescript-type-augmentation](reference/plugin-typescript-type-augmentation.md)
### App Configuration
- App configuration methods not working after mount call → See [configure-app-before-mount](reference/configure-app-before-mount.md)
- Chaining app config off mount() fails because mount returns component instance → See [mount-return-value](reference/mount-return-value.md)
- require.context-based component auto-registration fails in Vite → See [dynamic-component-registration-vite](reference/dynamic-component-registration-vite.md)
모든 파일
140개 파일vue-debug-guides 설치
스킬 파일을 다운로드하여 .claude/skills/ 디렉터리에 압축을 풀어주세요.
ZIP 다운로드저장소를 클론하고 스킬 파일을 프로젝트에 복사하세요.
git clone https://github.com/vuejs-ai/skills/tree/main/skills/vue-debug-guides # Copy SKILL.md to your .claude/skills/ directory
복사





집
