Skip to content

Commit 5fd7ce0

Browse files
committed
feat: add Vue 2.5 errorCaptured hook
1 parent ecafcbe commit 5fd7ce0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export const $internalHooks = [
1414
'updated',
1515
'activated',
1616
'deactivated',
17-
'render'
17+
'render',
18+
'errorCaptured' // 2.5
1819
]
1920

2021
export function componentFactory (

0 commit comments

Comments
 (0)