npm install --save @fortawesome/fontawesome-free
// or:
// also you can install Vue and React components.
npm install --save @fortawesome/vue-fontawesome
npm install --save @fortawesome/react-fontawesome
1.
// you can import the module in your js code.
import '@fortawesome/fontawesome-free/js/all.js';
2.
// if you are using Sass, you can import the module in app.scss.
@import '~@fortawesome/fontawesome-free/scss/fontawesome';
@import '~@fortawesome/fontawesome-free/scss/<type>';
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
Code Example |
---|
Html :: meta for author |
Html :: vuejs v-on |
Html :: delete icon in html |
Html :: variables in url_for flask jinja |
Html :: how to import jquery modular |
Html :: multiple countdown timer js |
Html :: tr , th , td , table |
Html :: how to make the border invisible in html |
Html :: hmtl image import |
Html :: intput field submit button |
Html :: h1 html |
Html :: wright word with < in html p tag |
Html :: livewire file upload |
Html :: onchange for contenteditable div |
Html :: viewport |
Html :: composer sail alias |
Html :: simple html dom |
Html :: how to block futer date input |
Html :: h3 in html |
Html :: tabpage in boostrap5 |
Html :: bootstrap hamburger |
Html :: html input address |
Html :: html new line |
Html :: html.beginform with form id |
Html :: html center text |
Html :: style font in html |
Html :: free form template html |
Html :: table bootstrap 4 |
Html :: emoji css |
Html :: html datetime format |