Passing another variable on Cloumn use view #1315
-
` ` i need passing another variable on ->view('cars.table-color') ->view('cars.table-color', ['var' => 1]) ===> not working |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can access variables declared elsewhere in the component, from your blade with the standard Look at the format() approach if you want to pass multiple variables into a view
|
Beta Was this translation helpful? Give feedback.
You can access variables declared elsewhere in the component, from your blade with the standard
{{ $this->variable }}
Look at the format() approach if you want to pass multiple variables into a view