This is appliable to src
folder or such.
- Files placed in root (e.g.
/src
) are treated as potential dependecies to everything else since they are "rooted" (@/
). Root files should not be reused multiple times across non-vital modules since this would make them "helpers/utils". @/utils
or@/tools
can use root files, while itself being a dependency to everything else expectroot
files.@/dev
is anything that helps development.@/entities
- storage/encapsulated fetches/resources - persistence.@/ui
@/pages
@/app
- anything that makes the app, setups, configs, ...@/assets
contains non-js/unrelated/static files.