Concepts
Resources
API
Guides
Environment
Tools
Development
Community edition
Available in Plans
Frontends
Services
Meteor
Releases
Community
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"]>; };