<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dr. Bash</title>
    <description>The latest articles on DEV Community by Dr. Bash (@doctorbash).</description>
    <link>https://dev.to/doctorbash</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F770484%2F620cbe5e-6f20-4555-b018-364cdba696cd.png</url>
      <title>DEV Community: Dr. Bash</title>
      <link>https://dev.to/doctorbash</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/doctorbash"/>
    <language>en</language>
    <item>
      <title>How to install font awesome icons to Nuxt Js - V2</title>
      <dc:creator>Dr. Bash</dc:creator>
      <pubDate>Wed, 08 Dec 2021 03:15:27 +0000</pubDate>
      <link>https://dev.to/doctorbash/how-to-install-font-awesome-icons-to-nuxt-js-v2-59f2</link>
      <guid>https://dev.to/doctorbash/how-to-install-font-awesome-icons-to-nuxt-js-v2-59f2</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Hi Developers&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;** Step 1.**&lt;/p&gt;

&lt;p&gt;Install these packages.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;yarn add @nuxtjs/fontawesome -D
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;then add free sets of icons&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;yarn add @nuxtjs/fontawesome @fortawesome/free-solid-svg-icons @fortawesome/free-brands-svg-icons -D
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 2.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Add font awesome to nuxt.config.js file&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// nuxt.config.js

  buildModules:  [
     '@nuxtjs/fontawesome',
  ],
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 3.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Add this configuration&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;fontawesome: {
     component: 'Fa',
     suffix: false,
     icons: {
       solid: true,
       brands: true,
     },
 },
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 4&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;How to use them in &lt;code&gt;.vue&lt;/code&gt; file&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;fa :icon="['fas', 'adjust']" /&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;...&lt;br&gt;
Check the video link -&amp;gt; &lt;a href="https://youtu.be/rZb9dM4Jn-s"&gt;Install Font awesome icons to Nuxt 2&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Bye bye Developers&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>vue</category>
      <category>nuxt</category>
    </item>
  </channel>
</rss>
