Out of the box, the adonis inertia.js config file had this section of code:
sharedData: {
user: (ctx) => ctx.inertia.always(() => ctx.auth.user),
},
But in my vue components, when I add user to defineProps it is undefined.
What am I missing? The documentation on the AdonisJS site doesn't go into much detail.