Getting Route Params

The params of the route can be accessed through the useRoute composable.

const category = useRoute().params.category