# useEntity
# useEntity(context, entity)
Returns the entity and all related data based on the slugs from the route.
Just pass in context from the setup method
Kind: global function
Since: 1.0.0-beta.88
| Param | Type | Description |
|---|---|---|
| context | SetupContext | The context from the setup-method |
| entity | ComputedRef.<string> | The current entity |