Exploring the ins and outs of Angular 6 and its fundamental components has left me with a bit of confusion regarding the ideal folder structure to employ. I've delved into various tutorials from sources like Traversy Media, Udemy, and beyond, each advocating for different folder structures based on project requirements.
Here's a simple folder structure outlined in the Angular documentation: https://i.sstatic.net/wm6iT.png
After extensive searching and research, here is the structure I experimented with:
└───src
├───app
│ ├───layout
│ │ ├───admin
│ │ │ ├───breadcrumbs
│ │ │ └───title
│ │ └───auth
│ ├───pages
│ │ ├───animations
│ │ ├───authentication
│ │ │ ├───forgot
│ │ │ ├───lock-screen
│ │ │ ├───login
│ │ │ │ ├───with-bg-image
│ │ │ │ ├───with-header-footer
│ │ │ │ ├───with-social
│ │ │ │ └───with-social-header-footer
│ │ │ └───registration
... (folder structure continues)
└───environments
Choosing between a structural approach aligned with real-world Angular samples or one customized based on personal preference can be tough. Feel free to share your alternative structure if you believe it surpasses what I have come up with so far. Thank you!