PHP code example of pickles2 / px2-scss

1. Go to this page and download the library: Download pickles2/px2-scss 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/ */

    

pickles2 / px2-scss example snippets


$conf->funcs->processor->scss = array(
    // SCSS文法を処理する
    'pickles2\px2scss\scss::processor' ,

    // css のデフォルトの処理を追加
    $conf->funcs->processor->css ,
);

$conf->funcs->processor->scss = array(
    // SCSS文法を処理する
    'pickles2\px2scss\scss::processor('.json_encode([
        'enable_cache' => true, // キャッシュを有効にする (true = 有効, false = 無効, デフォルトは true)
    ]).')' ,

    // css のデフォルトの処理を追加
    $conf->funcs->processor->css ,
);