# useActiveEntity

Automatically determines the activeEntity based on the slugs of useRouteSlugs. The activeEntity is last in the route-name.

TIP

The activeEntity is automatically updated when the route changes, because of the reactive bindings in Vue.