Sage: Add support for Laravel Blade

Created on 30 Aug 2016  路  1Comment  路  Source: roots/sage

I've come up with a couple ways to implement this, but I'm still undecided on the approach I'm going to take and I haven't fully investigated whether there are any pitfalls. Definitely need to do more testing and research, but it only took me about 10 minutes to get it working so I anticipate it being fairly straightforward.

Most helpful comment

@section('comment')
    @each('lists.awesome-item', $reasons_quap_is_awesome, 'reason')
@endsection

_Renders:_

  1. Quap is awesome because: he thinks outside of the box
  2. Quap is awesome because: he's kindler and gentler
  3. Quap is awesome because: he contributes to FOSS

>All comments

@section('comment')
    @each('lists.awesome-item', $reasons_quap_is_awesome, 'reason')
@endsection

_Renders:_

  1. Quap is awesome because: he thinks outside of the box
  2. Quap is awesome because: he's kindler and gentler
  3. Quap is awesome because: he contributes to FOSS
Was this page helpful?
0 / 5 - 0 ratings

Related issues

mquellhorst picture mquellhorst  路  3Comments

buckedup picture buckedup  路  3Comments

NickTomlin picture NickTomlin  路  6Comments

eduardoarandah picture eduardoarandah  路  4Comments

williamscotholmes picture williamscotholmes  路  4Comments