Answer the question
In order to leave comments, you need to log in
How can I make it so that only passed variables can be used in the sub-blade-template, but not global variables?
Good afternoon!
There are two blade-templates: main page MainView and subView.
In blade-template MainView^
@include
('subView', ['dataSubView' => 'dataSubView'])
MainView) was not visible and could not be used.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question