mirror of
https://github.com/symfony/recipes.git
synced 2026-09-16 09:36:24 +03:00
Adding new recipes for Encore, Stimulus & AssetMapper (#1202)
* Adding new recipes for Encore, Stimulus & AssetMapper * StimulusBundle 1.0 -> 2.9 * updating namespace * moving encore recipe changes to 2.0 * conflict with older version of flex * adding ux_controller_link_tags() to recipe * adding documentation to importmap * updating message to match core * Adding ux translator * fixing translations path * Documenting the new add-lines configurator * Fixing translator initial version * shorten to just var * remove ux alias - there is no one package to install UX packages currently * fixing wrong package name
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Returns the import map 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.
|
||||
*
|
||||
* - "preload" set to true for any modules that are loaded on the initial
|
||||
* page load to help the browser download them earlier.
|
||||
*
|
||||
* The "importmap:require" command can be used to add new entries to this file.
|
||||
*
|
||||
* This file has been auto-generated by the importmap commands.
|
||||
*/
|
||||
return [
|
||||
'app' => [
|
||||
'path' => 'app.js',
|
||||
'preload' => true,
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user