PHP laravel Blade commenting

 In Blade templating, you can comment out lines using Blade comments. Blade comments are not rendered in the final output, and they won’t appear in the HTML.

In Blade, {{-- --}} is used for comments, and the contents within these tags will not be included in the rendered output. So, this allows you to effectively comment out the specific line while keeping it visible in your Blade template for reference.

See also  Custom Directives in Alpine.js

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.