So I am BRAND NEW (I apologize for the caps but I want to highlight that) to the Angular, JS, TS world. I am following along with some beginner videos for setting up an angular project and I do great but when i get to the point in the video of generating a new component using the command
ng generate component course_card
it generates fine and I can see the new component. I then go to "app.component.ts" and add
<course-card></course-card>
which gives me the following error:
'course-card' is not a known element:
If 'course-card' is an Angular component, then verify that it is part of this module.
If 'course-card' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
Based on the research I have done (I still don't fully grasp it) it is because I need to manually add the import to app.module.ts.
However, I am curious why it is not automatically doing that in the videos I have seen after the person performs the ng generate CMD they are good to go.
I have tried uninstalling / clear cache/ re-installing angular with no luck
Is it VSS that is causing the issue? did I not configure something properly?
Thanks for any help in advance.