Closed marefati110 closed 3 years ago
to run project should use npm run ng serve
or npm run start
not ng serve
Ok, but why? What is the difference? The project was created using Angular CLI, running ng serve
to start a project is a standard procedure, there is nothing wrong or bad with it...
The difference is that when someone does not installed ng
globally on their system, they can not start the project and receive an error its good that the execution of the project does not depend on a specific program that must installed before.
Oh ok, that makes sense... you should've said that from the start, I'll merge it then.
I dont understand...
npm run start
runsng serve
anyways. There is literally no difference...