PHP Classes

File: importmap.php

Recommend this page to a friend!
  Packages of Julio Vergara   GitHub API   importmap.php   Download  
File: importmap.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: GitHub API
Present the most starred PHP projects in GitHub
Author: By
Last change:
Date: 6 days ago
Size: 1,015 bytes
 

Contents

Class file image Download
<?php

/**
 * Returns the importmap for this application.
 *
 * - "path" is a path inside the asset mapper system. Use the
 * "debug:asset-map" command to see the full list of paths.
 *
 * - "entrypoint" (JavaScript only) set to true for any module that will
 * be used as an "entrypoint" (and passed to the importmap() Twig function).
 *
 * The "importmap:require" command can be used to add new entries to this file.
 */
return [
   
'app' => [
       
'path' => './assets/app.js',
       
'entrypoint' => true,
    ],
   
'bootstrap' => [
       
'version' => '5.3.8',
    ],
   
'@popperjs/core' => [
       
'version' => '2.11.8',
    ],
   
'bootstrap/dist/css/bootstrap.min.css' => [
       
'version' => '5.3.8',
       
'type' => 'css',
    ],
   
'@hotwired/stimulus' => [
       
'version' => '3.2.2',
    ],
   
'@symfony/stimulus-bundle' => [
       
'path' => './vendor/symfony/stimulus-bundle/assets/dist/loader.js',
    ],
   
'@hotwired/turbo' => [
       
'version' => '8.0.23',
    ],
];