mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
hotfix: fix config for scrollBehavior test
This commit is contained in:
parent
f7cb3dae0f
commit
c6f0f5d954
3
test/fixtures/with-config/nuxt.config.js
vendored
3
test/fixtures/with-config/nuxt.config.js
vendored
@ -14,6 +14,9 @@ export default {
|
|||||||
router: {
|
router: {
|
||||||
base: '/test/',
|
base: '/test/',
|
||||||
middleware: 'noop',
|
middleware: 'noop',
|
||||||
|
scrollBehavior (to, from, savedPosition) {
|
||||||
|
return { x: 0, y: 0 }
|
||||||
|
},
|
||||||
extendRoutes (routes) {
|
extendRoutes (routes) {
|
||||||
return [
|
return [
|
||||||
...routes,
|
...routes,
|
||||||
|
Loading…
Reference in New Issue
Block a user