Skip to content

Commit

Permalink
test: restore the scroll position
Browse files Browse the repository at this point in the history
  • Loading branch information
diegopf committed May 1, 2024
1 parent f60573d commit 948dab2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/_vue3-migration-test/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,17 @@ const store = createStore({});
createApp(App as Component)
.use(router)
.use(store)
.use(xPlugin, { adapter, store })
.use(xPlugin, {
adapter,
store,
__PRIVATE__xModules: {
scroll: {
storeModule: {
state: {
pendingScrollTo: 'item-10'
}
}
}
}
})
.mount('#app');

0 comments on commit 948dab2

Please sign in to comment.