8 lines
270 B
TypeScript
8 lines
270 B
TypeScript
import type { RouterConfig } from '@nuxt/schema'
|
|
|
|
// Onyx scrolls inside .onyx-page__main, not the window, so the default Nuxt
|
|
// scroll behaviour does not reach the page container.
|
|
export default {
|
|
scrollBehavior: createOnyxScrollBehavior(),
|
|
} satisfies RouterConfig
|