By default, the Angular template with ASP.Net Core comes with a very old Angular CLI version.
Hi, I am trying out angular with ASP.Net Core in Visual Studio 2017 but the problem is that the angular CLI I have installed on my machine is version 6.0.7 as shown here.
When I create a new ASP.Net Core Web project using the Angular template, inside the package.json file it says it is using angular-cli as version 1.6.3. This causes the following warning everytime I try to generate something:
I cannot just change the version number in package.json because it requires the "angular-cli.json" file (plus a whole bunch of command issues with "ng serve") and I think the latest version uses "angular.json" and no idea how to change this file.
Why does the angular template have a very old CLI version by default? And is there a way to update it to use the global one?
0 comments:
Post a Comment