php - Laravel: getting blade components syntax error, unexpected 'endif' (T_ENDIF), expecting end of file

Solution:

I found what was causing the problem, I had a space between content and ="Hello There" by removing it and leaving it like content="Hello There" solves the problem.

Answer

Solution:

I crossed a similar problem, i was calling my component as <x-menu> closing the tag as <x-menu /> solved the problem!

Source