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
{{ message }}
Repository navigation
It is recommended to further optimize the directory structure #869
I think I understand what you mean. We run the equivalent of mv src/* .. I don't like removing entry-*, start is modular and this contributes to that, but it's worth discussing what you said.
At first I thought it was a bad idea... Like what if people want to have their backend in the same repository, but the top level (with src & backend or whatever) is already polluted by our configuration, so I see no issue here...
It is also very reasonable to keep entry-* separately. Is it better to move entry-*, root to the specified directory? For example: the app directory, because it is not necessary to modify them frequently in most cases, it is not necessary to put it in the most conspicuous root directory.
In addition, is it more intuitive to change the name of routes to pages? routes is more suitable for single-page applications in the past. And pages is more suitable for page entries routed by filename rules.
Activity
boehs commentedon May 5, 2023
I think I understand what you mean. We run the equivalent of
mv src/* .. I don't like removingentry-*, start is modular and this contributes to that, but it's worth discussing what you said.At first I thought it was a bad idea... Like what if people want to have their backend in the same repository, but the top level (with
src&backendor whatever) is already polluted by our configuration, so I see no issue here...sbfkcel commentedon May 5, 2023
It is also very reasonable to keep
entry-*separately. Is it better to moveentry-*,rootto the specified directory? For example: theappdirectory, because it is not necessary to modify them frequently in most cases, it is not necessary to put it in the most conspicuous root directory.In addition, is it more intuitive to change the name of
routestopages?routesis more suitable for single-page applications in the past. Andpagesis more suitable for page entries routed by filename rules.Directory Structure Reference: