vue-debug-guides
vuejs-ai/skills
Vue 3 のランタイムエラー、警告、非同期処理の失敗、および SSR/ハイドレーションに関する問題を、対象を絞ったデバッグガイドを用いて診断・修正します。
...すべて拡張しますVue 3 における、実行時の問題、警告、非同期処理の失敗、ハイドレーションのバグに対するデバッグとエラー処理。
開発のベストプラクティスやよくある落とし穴については、vue-best-practices をご利用ください。
リアクティビティ
- 予期しない再レンダリングや状態の更新を追跡する → reactivity-debugging-hooks を参照
- .value へのアクセスがないために ref 値が更新されない → ref-value-access を参照
- リアクティブなオブジェクトのデストラクチャリング後に状態の更新が停止する → reactive-destructuring を参照
- 配列、Map、またはSet内のrefが展開されない → refs-in-collections-need-valueを参照
- ネストされた ref がテンプレート内で [object Object] としてレンダリングされる → 「template-ref-unwrapping-top-level」を参照
- リアクティブプロキシの同一性比較が常に false を返す → reactivity-proxy-identity-hazard を参照
- プロキシ化されたサードパーティ製インスタンスが動作しなくなる → 「reactivity-markraw-for-non-reactive」を参照
- ウォッチャーが1ティックにつき1回しか発火しない(予期しない動作) → 「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 を参照
コンポーネント
- 子コンポーネントで「コンポーネントが見つかりません」というエラーが発生する → 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」を参照
プロパティとエミット
- defineProps で参照された変数がエラーの原因となる → prop-defineprops-scope-limitation を参照
- コンポーネントが宣言されていないイベントをエミットし、警告が発生する → 「declare-emits-for-documentation」を参照
- 関数内または条件式内で `defineEmits` が使用されている → 「defineEmits-must-be-top-level」を参照
- defineEmits には型引数と実行時引数の両方が含まれている → 「defineEmits-no-runtime-and-type-mixed」を参照
- ネイティブのイベントリスナーがクリックに反応しない → native-event-collision-with-emits を参照
- クリック時にコンポーネントのイベントが2回発火する → 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を参照
- 範囲反復処理で「オフ・バイ・ワン」エラーが発生する → 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」を参照
- テンプレートリファレンス名のリファクタリングにより、コード内で静かに動作しなくなる → 「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 を参照
- 数値入力でゼロではなく空の文字列が返される → 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」を参照
- 非同期に登録されたライフサイクルフックが実行されない → 「lifecycle-hooks-synchronous-registration」を参照
スロット
- スロットコンテンツ内での子コンポーネントデータへのアクセスで未定義の値が返される → 「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 を参照
コンポーザブル
- セットアップコンテキスト外または非同期でコンポーザブルが呼び出される → 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
- 変更可能なプロパティのデフォルト値により、コンポーネントインスタンス間で状態が漏洩する → ts-withdefaults-mutable-factory-function を参照
- reactive() のジェネリック型指定により、ref のアンラップに不一致が生じる → ts-reactive-no-generic-argument を参照
- テンプレート ref が、マウント前または v-if によるアンマウント後に null アクセスエラーをスローする → ts-template-ref-null-handling を参照
- オプションのブール型プロパティが undefined ではなく false として動作する → ts-defineprops-boolean-default-false を参照
- インポートされた defineProps の型が、解決不能または複雑な型参照により失敗する → ts-defineprops-imported-types-limitations を参照
- 型指定のない DOM イベントハンドラは、厳格な TypeScript 設定下で失敗する → ts-event-handler-explicit-typing を参照
- 動的なコンポーネント参照がリアクティブコンポーネントの警告を引き起こす → ts-shallowref-for-dynamic-components を参照
- ユニオン型付けされたテンプレート式は、型狭窄を行わないと型チェックに失敗する → 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() からのスロットコンテンツがレンダリングされない → 「render-function-slots-as-functions」を参照
KeepAlive
- ネストされた Vue Router ルートで子コンポーネントが 2 回マウントされる → keepalive-router-nested-double-mount を参照
- KeepAlive とトランジションアニメーションを組み合わせるとメモリが増加する → 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」を参照
パフォーマンス
- 親が不安定なプロパティを渡すため、子要素が不必要に再レンダリングされる → 「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 を参照
- プラグインが動作しない、または注入結果が 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
コピー





家
