HTTP APIs
Meteor
Design
Releases
Learning
Appearance
Composable to get the category from current CMS context
export function useCategory( category?: Ref<Schemas["Category"]>, ): UseCategoryReturn
source code
export type UseCategoryReturn = { /** * Current category entity */ category: ComputedRef<Schemas["Category"]>; };