Skip to content

Setting Laravel Blade variables from Inertia::render #1348

Discussion options

You must be logged in to vote

Did you pass the title variable? I didn't tested it right now but I think it should work.

For the header and footer you could extract them in a blade component with its class. In the classes you could make all the queries you need and pass the props.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@mattgreenfield
Comment options

@giorgiopogliani
Comment options

@mattgreenfield
Comment options

@bcheidemann
Comment options

Answer selected by mattgreenfield
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants