S
S
Speakermen2021-02-19 01:30:47
Laravel
Speakermen, 2021-02-19 01:30:47

Am I using the blade correctly?

Good day dear programmers. So, on the contrary, fragments should connect the template? Or something went wrong. Haven't figured out Larka yet(

@extends('template.footer')
@extends('template.subscribe')
@extends('template.aside')
@extends('template.albums')
@extends('template.menu')
@extends('template.header')

Here is the folder hierarchy
602eea37575c7202433670.jpeg
602eea45c4652002641353.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daria Motorina, 2021-02-19
@Speakermen

https://laravel.com/docs/8.x/blade#layouts-using-t...
extends for header, footer and other blocks is illogical - just create a main template, extend it and add content through section

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question