I have a .blade.php file that was generated by Laravel and it contains the following line
{{-- --}}
What are the double-curly-double-dashes?
Is it a comment?
I have a .blade.php file that was generated by Laravel and it contains the following line
{{-- --}}
What are the double-curly-double-dashes?
Is it a comment?
In Blade that is a comment:
Blade also allows you to define comments in your views. However, unlike HTML comments, Blade comments are not included in the HTML returned by your application:
{{-- This comment will not be present in the rendered HTML --}}
You can use this link to find out more about Blade templating and the different type of code involved and their usage in a template file.