PHP code example of pcuser42 / cakephp-webpack-asset-loader
1. Go to this page and download the library: Download pcuser42/cakephp-webpack-asset-loader 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/ */
pcuser42 / cakephp-webpack-asset-loader example snippets
$this->addPlugin('Pcuser42/WebpackAssetLoader');
$this->loadHelper('Pcuser42/WebpackAssetLoader.Asset');
<?=$this->Asset->loadEntry('app')