Skip to content

Commit 9bb4762

Browse files
author
Guillaume Chau
committed
$route is now abstract
1 parent 5c971c0 commit 9bb4762

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/backend/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,13 @@ function processRouteContext (instance) {
569569
if (route.meta) value.meta = route.meta
570570
return [{
571571
key: '$route',
572-
value
572+
value: {
573+
_custom: {
574+
type: 'router',
575+
abstract: true,
576+
value
577+
}
578+
}
573579
}]
574580
} else {
575581
return []

0 commit comments

Comments
 (0)