Added changes to remove errors discovered while following instructions.
Imported CommonModule (could only import NgFor instead) and set app component as standalone. Without importing NgFor, ngForOf won't bind to li used in the template. Angular expects the component to be standalone. There could be better ways to fix this, I'm writing this while going through the tutorial.
Description
Imported CommonModule and added standalone flag to app.components.ts. Otherwise the built app does not work as intended (or at all in the case of the standalone flag)
Motivation
Without these changes (or others, I am not the most knowledgeable) I was unable to proceed with the tutorial. There could be better fixes for the issues I encountered, but following the current instructions exactly does not work.
Additional details
Related issues and pull requests
I have not created an issue but upon my search of the word "angular" in issues and PRs there isn't anything about this problem.
Preview URLs
(comment last updated: 2024-03-15 10:21:48)
I did follow all steps, including the ones on the page before to set up angular. I am guessing the problem is that it was written for an older version
Thanks. I'm unassigning myself as I know nothing about Angular.