Skip to content
This repository was archived by the owner on May 27, 2019. It is now read-only.

Commit 936310c

Browse files
committed
fix: last two files
1 parent 324eeff commit 936310c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/ssr/src/main.server.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export default context =>
2828
route: router.currentRoute,
2929
});
3030
}
31+
return undefined;
3132
})
3233
)
3334
.then(() => {

examples/ssr/src/router.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export function createRouter() {
99
return new Router({
1010
mode: 'history',
1111
routes: [
12-
{ path: '/', name:'home', component: Search },
13-
{ path: '/search/:query?', name:'search', component: Search }
12+
{ path: '/', name: 'home', component: Search },
13+
{ path: '/search/:query?', name: 'search', component: Search },
1414
],
1515
});
1616
}

0 commit comments

Comments
 (0)