Answer the question
In order to leave comments, you need to log in
Why doesn't the template engine work?
Playing with Larvel. And a question arose.
I have this structure:
feed-control.blade.php
I include 2 files depending on the route:@if( Route::currentRouteName() == 'mess' )
@include('feed-control.mess')
@endif
@if( Route::currentRouteName() == 'public' )
@include('feed-control.public')
@endif
mess
the page. That is, for example {{ $feed->title }}
, it is displayed this way, or it is @csrf
also displayed this way, like text.
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