surda / webloader
Integration of Machy8/webloader
v2.1.0
2021-03-20 18:19 UTC
Requires
- php: >=8.0
- machy8/webloader: ^2.0
- natxet/cssmin: ~3.0
- tedivm/jshrink: ~1.0
Requires (Dev)
- nette/tester: ^2.0
- ninjify/nunjuck: ^0.3
- phpstan/phpstan: ^0.12
- phpstan/phpstan-deprecation-rules: ^0.12
- phpstan/phpstan-nette: ^0.12
- phpstan/phpstan-strict-rules: ^0.12
README
Installation
The recommended way to is via Composer:
composer require surda/webloader
After that you have to register extension in config.neon:
extensions: webloader: WebLoader\Bridges\Nette\WebLoaderExtension
Configuration
See Machy8/webloader repository.
Usage
Presenter
use Surda\WebLoader\TWebLoader; abstract class AnyPresenter extends Presenter { use TWebLoader; }