Skip to content

How To Use Laravel Settings With Livewire? #152

Answered by rubenvanassche
reasecret asked this question in Q&A
Discussion options

You must be logged in to vote

You can inject settings anywhere you can inject something from the Laravel container. I think calling resolve(GlobalSettings::class) within your livewire component should work.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@reasecret
Comment options

@madurapa
Comment options

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