I am trying to integrate PrimeUI into Laravel 5.5, everything seems OK except using the template function for defining custom column.
It is my understanding that PrimeUI utilize mustache.js which use {{}} that might collide with laravel blade {{}} expression. Any input on this is appreciated. Many thanks.
PrimeUI: 4.1.15
Laravel 5.5
PHP: 7.2
Code: Select all
<p-column field="color" headertext="Color" sortable filter>
<template>
<!-- throw error --->
<span style="color:{{color}}">{{color}}</span>
</template>
</p-column>
Code: Select all
<p-column field="color" headertext="Color" sortable filter>
<template>
<!-- throw error --->
<span style="color:@{{color}}">@{{color}}</span>
</template>
</p-column>
Best Regards,
Frederick