@ryan-clare

Learning initiated
3
Lessons started
Knowledge gained
1
Lesson completed
Total learning time
12m 7s
Spent learning
Community impact
2
Comments & forum posts

Discussions

Discussions @ryan-clare has started

shared data in inertia config is not coming into vue props

@ryan-clare
@ryan-clare

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...

3
445

Showing 1 to 1 of 1 results