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

大城市里の小女人 提交于 2019-12-13 09:01:40

问题


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.



来源:https://stackoverflow.com/questions/47455594/how-to-add-font-awesome-to-a-net-core-2-spa-with-angular-4-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!