Skip to content

Function: usePostList()

usePostList(params): ComputedRef<Partial<PostFrontMatter>[]>

get post list in 'pages/posts' folder todo: use vue provide/inject to global

Parameters

params = {}

params.type?: string

Returns

ComputedRef<Partial<PostFrontMatter>[]>

Defined in

packages/valaxy/client/composables/post/index.ts:44