Blade comments in Laravel crash apache

any comments included in the click will cause Apache to crash when trying to load the specified page. The project I'm working on uses blade comments for notes and everything, so removing them is not an option. I use xampp in windows.

Does anyone have any idea?

+8
laravel laravel-4
source share
1 answer

You must make sure that the opening and closing marks of the blade are correct and do not use the @ symbol in the comment:

 {-- Should work --} {-- @will crash --} {-- that @doesn't work either --} 
+9
source share

All Articles