Scritik / prestui

UI library for PrestaShop modules
MIT License
44 stars 14 forks source link

Riot3 #14

Closed Scritik closed 7 years ago

Scritik commented 7 years ago

Added Riot3 support

Scritik commented 7 years ago

FYI, tables are ok. The issue is that we now need to escape {} from the JSON to avoid conflicts with Riot.

Something like that:

<ps-table header="{l s='Products'}" icon="icon-users" content="{$data|replace:'{':'\{'|replace:'}':'\}'|escape:'htmlall':'UTF-8'}" no-items-text="{l s='No products found'}"></ps-table>