PHP code example of nambu-ch / pimcore-minify-cssjs
1. Go to this page and download the library: Download nambu-ch/pimcore-minify-cssjs 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/ */
nambu-ch / pimcore-minify-cssjs example snippets
composer console pimcore:bundle:enable MinifyCssJs
$view->headLink()->appendStylesheet('/static/css/example.css');
echo $view->headLink();
$view->headScript()->appendFile('/static/js/example.js');
echo $view->headScript();