how can i pass the userid/uid along with the profile link (route: '/u/' + this.$auth.user.id) ? What i have below doesn't work.
my code is as follows (using nuxt)
<script>
import profilePic from './profilePic';
export default {
components: { profilePic },
data: () => ({
links: [
{
icon: 'mdi-account-circle-outline',
title: 'Profile',
route: '/u/' + this.$auth.user.id
},
{ icon: 'mdi-clipboard-multiple-outline', title: 'My Lists', route: '/' },
{ icon: 'mdi-logout', title: 'Logout', route: '/u/logout' }
]
})
</script>