PHP code example of approvedio / laravel-tailwind-config

1. Go to this page and download the library: Download approvedio/laravel-tailwind-config 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/ */

    

approvedio / laravel-tailwind-config example snippets


Tailwind::get('colors.red-light', '#FF0000');

tailwind('colors.red-light', '#FF0000');

'cache_path' => base_path('tailwind.json'),