File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,16 @@ const showBuggy = ref(false);
6565 "
6666 >
6767 <BuggyComponent />
68- <template #fallback =" { error , componentHierarchy , resetErrorBoundary } " >
68+ <template #fallback =" { error , componentHierarchy , componentHierarchyFrames , resetErrorBoundary } " >
6969 <div class =" space-y-1" >
7070 <p >Something went wrong: {{ error.message }}</p >
7171 <p class =" text-xs text-gray-500" >Hierarchy: {{ componentHierarchy.join(' > ') }}</p >
72+ <details class =" text-xs text-gray-500" >
73+ <summary >Hierarchy frames ({{ componentHierarchyFrames.length }})</summary >
74+ <pre class =" mt-1 overflow-auto text-xs" >{{
75+ JSON.stringify(componentHierarchyFrames, null, 2)
76+ }}</pre >
77+ </details >
7278 <button
7379 class =" rounded-md bg-black px-2 py-1 text-sm font-medium text-white"
7480 @click =" resetErrorBoundary"
You can’t perform that action at this time.
0 commit comments