Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

29 lines
782B

  1. <?php
  2. /**
  3. * Returns the importmap for this application.
  4. *
  5. * - "path" is a path inside the asset mapper system. Use the
  6. * "debug:asset-map" command to see the full list of paths.
  7. *
  8. * - "entrypoint" (JavaScript only) set to true for any module that will
  9. * be used as an "entrypoint" (and passed to the importmap() Twig function).
  10. *
  11. * The "importmap:require" command can be used to add new entries to this file.
  12. */
  13. return [
  14. 'app' => [
  15. 'path' => './assets/app.js',
  16. 'entrypoint' => true,
  17. ],
  18. '@hotwired/stimulus' => [
  19. 'version' => '3.2.2',
  20. ],
  21. '@symfony/stimulus-bundle' => [
  22. 'path' => './vendor/symfony/stimulus-bundle/assets/dist/loader.js',
  23. ],
  24. '@hotwired/turbo' => [
  25. 'version' => '7.3.0',
  26. ],
  27. ];