PHP code example of prr / multi-stimulus-bundle
1. Go to this page and download the library: Download prr/multi-stimulus-bundle 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/ */
prr / multi-stimulus-bundle example snippets
return [
'main' => [
'path' => './asset-collections/admin/main.js',
'entrypoint' => true,
],
'@hotwired/stimulus' => [
'version' => '3.2.2',
],
'@prr/multi-stimulus-bundle' => [
'path' => '@prr/multi-stimulus-bundle/loader.js',
],
// ... other imports
];
bash
php bin/console multi:stimulus:setup