简体   繁体   中英

Angular CLI on .net Core 2.0

I'm trying to activate angular CLI on a .net core 2.0 app. I want to use Internationalization features but for this, I need to run CLI commands. So I followed this guide: https://www.codeproject.com/Tips/1208529/Angular-CLI-and-ASP-NET-Core-Angular-Template

But this does not work for me. The moment I hit step 6 where I need to create a project to get the .angular-cli.json file it just starts spitting out warnings and errors like a minigun on steroids.

It says it cannot find a lot of files or directories and that an operation is not permitted.

Here are some pictures: 在此处输入图片说明

在此处输入图片说明

It says I need to do this step to get a .angular-cli.json.

If anyone could help me out to install the angular-cli into the project that would be great!

U can use the "Microsoft.DotNet.Web.Spa.ProjectTemplates".
I describe this template in the following link:

Angular CLI in ASP.NET Core 2 Angular template

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM