Press "Enter" to skip to content

@verbatim directive in blade template of laravel

Many of you may not know about this.

Blade echo syntax {{ }} is also used in many JavaScript frameworks . Vue.js is prime example of it

We use @{{ }} symbols to prevent blade from parsing it which outputs the content stripping the @ symbol.

But there are cases, where we repeatedly use JavaScript echo which makes writing @ in front of every blade echos  tedious.

For example:

 

So, the solution here is to use another blade directive, a directive called @verbatim.

It totally neglects the blades echo directives inside of it.

 

11 Comments

  1. animal onesies for babies
    animal onesies for babies August 21, 2018

    Hello there, You’ve done an incredible job. I’ll definitely digg it and in my opinion recommend to my friends. I am confident they will be benefited from this site.

  2. Rosy Amsley
    Rosy Amsley August 24, 2018

    What’s up it’s me, I am also visiting this web site daily, this web page is actually good and the users are in fact sharing pleasant thoughts.

  3. Dotty Nicodemus
    Dotty Nicodemus August 29, 2018

    Great items from you, man. I have take note your stuff prior to and you are just too great. I actually like what you’ve bought right here, certainly like what you’re stating and the best way during which you assert it. You’re making it enjoyable and you still take care of to stay it wise. I cant wait to learn much more from you. This is really a tremendous website.

  4. Manganese Casting foundry
    Manganese Casting foundry August 29, 2018

    This web site definitely has all of the info I needed concerning this subject and didn’t know who to ask.

  5. onesies for women
    onesies for women August 30, 2018

    There is definately a lot to know about this subject. I really like all of the points you made.

  6. Janina Steczo
    Janina Steczo September 4, 2018

    An interesting discussion is definitely worth comment. I do believe that you should publish more about this topic, it might not be a taboo subject but usually folks don’t speak about such issues. To the next! Kind regards!!

  7. minecraft
    minecraft September 17, 2018

    Hello there! This post couldn’t be written any better!
    Reading through this post reminds me of my old room mate!
    He always kept chatting about this. I will forward
    this page to him. Pretty sure he will have a good read.
    Thank you for sharing!

  8. minecraft
    minecraft September 18, 2018

    Hey very nice web site!! Guy .. Excellent .. Superb .. I’ll bookmark your site and take the feeds also?

    I’m glad to search out a lot of useful info here in the post, we need develop more techniques in this regard,
    thanks for sharing. . . . . .

  9. minecraft
    minecraft September 21, 2018

    This post is in fact a nice one it assists new internet visitors, who are wishing in favor of blogging.

  10. minecraft
    minecraft September 23, 2018

    After checking out a few of the blog posts on your website, I seriously
    appreciate your technique of blogging. I book marked it to my bookmark site list and will
    be checking back soon. Please visit my web site
    too and tell me your opinion.

Leave a Reply

Your email address will not be published.