Skip to main content

Separating Teacher and Student Layouts

Premium
7 min read

Comments & Discussion

Y
yindarsingh ✓ Link copied!

I am having issue with navigation when selecting Profile for Student or Teacher.

AJ
Andre Jansen ✓ Link copied!

You removed the app.blade.php file in the layouts directory. In laravel 10 breeze is extended with a profile. Create a app.blade.php in the original state and it works again

A
asequeira ✓ Link copied!

these filenames are not correct app/View/Components/StudentLayout.blade.php app/View/Components/TeacherLayout.blade.php

it should be: app/View/Components/StudentLayout.php app/View/Components/TeacherLayout.php

(not the blade but the class files)

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.