If I run this:
ng g component components/blogs
I get
app
+--components
| +--blogs
| | +--shared
| | | +--index.ts // what's this for?
| | +--blogs.component.css
| | +--blogs.component.html
| | +--blogs.component.ts
| | +--blogs.component.spec.ts // unit tests!
| | +--index.ts
I understand the rest, but what is the /blogs/shared/index.ts
for? Why does a component have a shared folder if that component folder is just for the component?