Skip to content

Function: usePrevNext()

usePrevNext(path?): ComputedRef<null | Partial<PostFrontMatter>>[]

get prev and next post

Parameters

path?: string

Returns

ComputedRef<null | Partial<PostFrontMatter>>[]

Defined in

packages/valaxy/client/composables/post/usePrevNext.ts:9