💻 Tech
If you need to generate a component to a specific folder, and your project has src/app that hosts your project source code, you only need to provide in the command the path after src/app like so:
ng generate component componentfolder/domain1/subdomain1/componentname
The command already knows that componentfolder/domain1/subdomain1 exists under src/app.