You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there, so I just created a quick cra-template with my basic setup for react web apps, but I'm thinking I would love to be able to add some configurable options while installing things.
So for example, when I start creating a project using the template I would like to prompt "would you like to add state management?" and give some options like redux, jotai, recoil, etc and use a different sub-template maybe for those?
Or if I wanted to also add Electron as an option for the app, could I add a configure question for that?
Any ideas on how to achieve this? Or example repos that I could use for inspiration?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey there, so I just created a quick cra-template with my basic setup for react web apps, but I'm thinking I would love to be able to add some configurable options while installing things.
So for example, when I start creating a project using the template I would like to prompt "would you like to add state management?" and give some options like redux, jotai, recoil, etc and use a different sub-template maybe for those?
Or if I wanted to also add Electron as an option for the app, could I add a configure question for that?
Any ideas on how to achieve this? Or example repos that I could use for inspiration?
Thanks and regards to all :)
Beta Was this translation helpful? Give feedback.
All reactions