title: fontawesome integration in <ion-icon> Ionic 4 - Angular 7
body: <p>I m trying to integrate fontawesome in my ionic4 app.</p>
  
  <p>I have followed this tutorial 
  <a href="https://yannbraga.com/2017/06/28/how-to-use-custom-icons-on-ionic-3/" rel="nofollow noreferrer">https://yannbraga.com/2017/06/28/how-to-use-custom-icons-on-ionic-3/</a></p>
  
  <p>with some modifications for ionic4.</p>
  
  <p>Now I can display the fontawesome using</p>
  
  <pre><code>&lt;i class="fas fa-alicorn"&gt;&lt;/i&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;ion-icon class="fas fa-alicorn"&gt;&lt;/ion-icon&gt;
  </code></pre>
  
  <p>But I would like to use like this (like a normal ion-icon)</p>
  
  <pre><code>&lt;ion-icon name="fas fa-alicorn"&gt;&lt;/ion-icon&gt;
  </code></pre>
  
  <p>When i try this i ve got an error : "aarlbodj.entry.js:1 icon was not resolved" . Anyone in this case ?</p>