How to add a new partial blade template

Hello folks,

I added a new file called nav-blade.php inside the partials directory ( resources\views\partials ), When i call that template inside the app.blade.php then get this error . Do i have to add a reference of this new template anywhere ?

@include(‘partials.nav’)

Fatal error: Uncaught InvalidArgumentException: View [partials.nav] not found.

Your partial filename needs to be nav.blade.php. You wrote nav-blade.php.

1 Like

ohh thank you. I didn’t notice it.