We need to simplify the current folder structure #295
Replies: 3 comments 10 replies
-
This is react-boilterplate current folder structure. |
Beta Was this translation helpful? Give feedback.
-
Hi, @monstar-lab-oss/reactjs-boilerplate-maintainers tl;dr:Here's my idea of the folder structure.
long story:When I first thought about the structure generated by the CLI, I imagined the following structure.
Basically, considering that Restful will be supported,
These were going to be represented in a diagram as follows. As shown in the figure, routes are used for aggregation, so I used the CLI option to create routes. e.g., Only the parts of each template that are common to each other are created dynamically. The folder structure of each template is matched; the basic structure eliminates the need for complex merging processes. (Even if there is som duplication of code.)
This is the screen when the CLI is executed. Kapture.2022-12-13.at.14.22.58.mp4Feel free to check out the code here. What do you think about this structure? If you have any opinions, I would love to hear them. |
Beta Was this translation helpful? Give feedback.
-
@jinmayamashita
As error said, |
Beta Was this translation helpful? Give feedback.
-
We need to simplify the current folder structure for the our boilerplate template to CLI.
Beta Was this translation helpful? Give feedback.
All reactions