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 removing them isn't an option. I'm using xampp on windows.
Anyone have any ideas?
The blade templates are stored in the /resources/view directory. The main advantage of using the blade template is that we can create the master template, which can be extended by other files.
Laravel Blade template engine enables the developer to produce HTML based sleek designs and themes. All views in Laravel are usually built in the blade template. Blade engine is fast in rendering views because it caches the view until they are modified. All the files in resources/views have the extension .
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
--}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With