Is your feature request related to a problem? Please describe.
wouter is currently included in react/base. It is possible that users may not want a router solution for their project, so the current implementation would only bloat the generated project.
Additionally, since we are currently revising the generation script to use plop, it would be a good opportunity to try implementing this via plop.
Describe the solution you'd like
Extract router related code from react/base as its own module
Add "Add router" in the module selection of the CLI script.
Add additional CLI prompt to select which router solution to use, if the user selects the "Add router" selection.
a. Add both wouter and react-router selection
Add handlebar templates for wouter and react-router modules.
Add plop generator for the router module.
Additional context (optional)
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
wouter
is currently included inreact/base
. It is possible that users may not want a router solution for their project, so the current implementation would only bloat the generated project.Additionally, since we are currently revising the generation script to use plop, it would be a good opportunity to try implementing this via
plop
.Describe the solution you'd like
router
related code fromreact/base
as its own modulewouter
andreact-router
selectionwouter
andreact-router
modules.Additional context (optional)
Add any other context or screenshots about the feature request here.