Blade Comments in Laravel are crashing apache

后端 未结 1 1230
时光取名叫无心
时光取名叫无心 2020-12-20 16:35

any comments included in a blade are causing apache to crash when I try to load said page. The project I\'m working on uses blade comments for notes and everything, so remov

相关标签:
1条回答
  • 2020-12-20 17:32

    You must ensure that your blade opening and closing tags are correct and don't use the @ character in the comment:

    {-- Should work --}
    
    {-- @will crash --}
    
    {--
    
    that @doesn't work either
    
    --}
    
    0 讨论(0)
提交回复
热议问题