Skip to content

Commit 039174c

Browse files
committed
add activate hook
added the `activate` life cycle hook.
1 parent 96d6654 commit 039174c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ var internalHooks = [
88
'beforeDestroy',
99
'destroyed',
1010
'attached',
11-
'detached'
11+
'detached',
12+
'activate'
1213
]
1314

1415
function decorator (Component) {

0 commit comments

Comments
 (0)