commande d'exécuter après avoir exposé Symfony de route

php bin/console fos:js-routing:dump --format=json --locale=fr --target=web/js/fos_js_routes.json
ama-lion