heimrichhannot-contao-components / modernizr
A shim repositoy for modernizr as contao component.
Installs: 998
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:contao-component
Requires
This package is not auto-updated.
Last update: 2024-12-21 10:18:14 UTC
README
A shim repositoy for Modernizr as contao component.
Please see modernizr-config.json for included features and options for this modernizr build.
Install
composer require heimrichhannot-contao-components/modernizr
Usage
Add following line to your config.php:
// 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';
Internal
Download-Url for updating builds while keeping the config.