api-platform / create-client

Generate React or Vue.js-based Progressive Web Apps from an Hydra-enabled API. Also support React Native.
https://api-platform.com/docs/client-generator/
MIT License
374 stars 132 forks source link

no-mercure flag to disable mercure integration #179

Open alOneh opened 5 years ago

alOneh commented 5 years ago

Description

Mercure is a killer feature but it depends on the project you are working one. For a prototype or a side project it could be overkill to use it at the first time. Instead of cleaning the generated code I propose to add a simple flag to not generate the code related to Mercure.

Example

client-generator --no-mercure
dunglas commented 5 years ago

👍 on my side