vuejs 3 get params from route code example
Example 1: get params from route vuejs
const User = {
template: '<div>User {{ $route.params.id }}</div>'
}
Example 2: get the parameter from the route to the view
<a class="nav-link" href=" {{ route('profiles.show',$logged_user) }}">