PHP code example of marcorieser / tailwind-merge-statamic
1. Go to this page and download the library: Download marcorieser/tailwind-merge-statamic library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
marcorieser / tailwind-merge-statamic example snippets
antlers
<div class="{{ 'w-10 h-10 rounded-full bg-red-500' | tw_merge('varable_holding_classes', 'another_variable') }}"></div>