PHP code example of heimrichhannot-contao-components / modernizr
1. Go to this page and download the library: Download heimrichhannot-contao-components/modernizr 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/ */
heimrichhannot-contao-components / modernizr example snippets
// Contao 4:
// src/Ressources/contao/config/config.php
$GLOBALS['TL_JAVASCRIPT']['modernizr'] = 'assets/modernizr/dist/modernizr-custom.js|static';
// Contao 3:
// config/config.php
$GLOBALS['TL_JAVASCRIPT']['modernizr'] = 'assets/components/modernizr/dist/modernizr-custom.js|static';