How to add font awesome to a .net core 2 spa with

2019-09-21 05:43发布

问题:

I found this but I don't have an angular cli file so I tried to install with npm and then add it with import statement in my wwwroot/css/style.css file but that didn't work either.

EDIT: My project is an Angular 4 App With Asp.Net Core 2.0 Web API so the suggested tutorial was unable to resolve the issue.

回答1:

How to add font awesome to ASP.NET Core Angular 2 application in Visual Studio 2017 with SpaTemplates I reread the article and found that I missed something. I resolved the issue.