font awesome with Angular 2

前端 未结 4 1073
一整个雨季
一整个雨季 2020-12-19 09:42

I started an NG2 app and wanna add font awesome. I npm installed it with : npm install --save font-awesome angular2-font-awesome. I added to project in systemjs.config.js:

4条回答
  •  心在旅途
    2020-12-19 10:21

    Not much of effort is needed just include the script tag.

    Hello {{name}}

    and my index.html contains script reference to the above script URL.

    Get your script code by Registering Here. You will receive a mail from font-awesome as below

    LIVE DEMO

提交回复
热议问题