Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

raultrysw's avatar

@component is not rendering

As I want to use the form login in the sidebar and in their own page (/login) I created a blade file that includes the form login and I include on the sidebar.

But this file uses the component form, which includes the crsf token and a bottom bar with the actions of submit or return back.

The problem is that @component is literally printed on the page (without evaluate the expression) and therefore not is helpful for me, I don't know how to fix this and I am trying to solve this problem during a week.

This is the result... :(

Component not being rendered

Help, ¡thanks for this forum!.

0 likes
6 replies
Snapey's avatar

is your include file ending in .blade.php ?

1 like
Snapey's avatar
Snapey
Best Answer
Level 122

you choose the best answer

Please or to participate in this conversation.