Skip to content

Commit c6f0f5d

Browse files
committed
hotfix: fix config for scrollBehavior test
1 parent f7cb3da commit c6f0f5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/fixtures/with-config/nuxt.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ export default {
1414
router: {
1515
base: '/test/',
1616
middleware: 'noop',
17+
scrollBehavior (to, from, savedPosition) {
18+
return { x: 0, y: 0 }
19+
},
1720
extendRoutes (routes) {
1821
return [
1922
...routes,

0 commit comments

Comments
 (0)