Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
prog:symfony:extensions:webpack [11/09/2022 17:34] thierry [Détails] |
prog:symfony:extensions:webpack [11/09/2022 18:53] (Version actuelle) thierry [Sources & Ressources] |
||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
===== Installation ===== | ===== Installation ===== | ||
==== Résumé ==== | ==== Résumé ==== | ||
- | - ''composer require symfony/webpack-encore-bundle'' | + | - ''symfony composer req encore'' |
- ''npm install'' | - ''npm install'' | ||
==== Détails ==== | ==== Détails ==== | ||
- | avec la commande ''composer require symfony/webpack-encore-bundle''\\ | + | avec la commande ''symfony composer req encore''\\ |
Un fichier ''webpack.config.js'' est créé dans le répertoire du projet. | Un fichier ''webpack.config.js'' est créé dans le répertoire du projet. | ||
- | <code bash> | + | <code bash>>symfony composer req encore |
- | >composer require symfony/webpack-encore-bundle | + | Info from https://repo.packagist.org |
- | Info from https://repo.packagist.org: | + | |
Using version ^1.15 for symfony/webpack-encore-bundle | Using version ^1.15 for symfony/webpack-encore-bundle | ||
./composer.json has been updated | ./composer.json has been updated | ||
Ligne 26: | Ligne 25: | ||
- Installing symfony/webpack-encore-bundle (v1.15.1): Extracting archive | - Installing symfony/webpack-encore-bundle (v1.15.1): Extracting archive | ||
Generating optimized autoload files | Generating optimized autoload files | ||
- | 31 packages you are using are looking for funding. | + | 36 packages you are using are looking for funding. |
Use the `composer fund` command to find out more! | Use the `composer fund` command to find out more! | ||
- | Symfony operations: 1 recipe (4fd206762f65e87c3499983900d785bb) | + | Symfony operations: 1 recipe (c1dccbeadbd089260073e199ecaca575) |
- Configuring symfony/webpack-encore-bundle (>=1.10): From github.com/symfony/recipes:main | - Configuring symfony/webpack-encore-bundle (>=1.10): From github.com/symfony/recipes:main | ||
Executing script cache:clear [OK] | Executing script cache:clear [OK] | ||
Executing script assets:install public [OK] | Executing script assets:install public [OK] | ||
- | What's next? | + | What's next? |
Ligne 61: | Ligne 60: | ||
found 0 vulnerabilities | found 0 vulnerabilities | ||
</code> | </code> | ||
+ | ====== Sources & Ressources ====== | ||
+ | * [[https://symfony.com/doc/current/the-fast-track/fr/22-encore.html]] | ||
+ | |||