What to keep in mind while creating angular fresh projects?
while creating you should mind one thing that you are going to use routing then
Rather than writing ng new [project-name] or ng init you should also use.
ng new [project-name] --routing which will give you RoutingModule also.
Differences between ng new [project-name] and ng init.
If you are going to use ng new [project-name] will create a folder having given project name
and
if you use ng init will directly create the project in the same folder in which you are available with terminal.
and
if you use ng init will directly create the project in the same folder in which you are available with terminal.
No comments:
Post a Comment