<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" />
<i class="fas fa-home fa-1x fa-fw"></i>
npm i --save @fortawesome/fontawesome-svg-core
npm i --save @fortawesome/vue-fontawesome@latest
npm i --save @fortawesome/vue-fontawesome@prerelease
npm i --save @fortawesome/free-solid-svg-icons
npm i --save @fortawesome/free-brands-svg-icons
npm i --save @fortawesome/free-regular-svg-icons
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
import { library } from "@fortawesome/fontawesome-svg-core";
import { fas } from "@fortawesome/free-solid-svg-icons";
import { fab } from "@fortawesome/free-brands-svg-icons";";
import { far } from "@fortawesome/free-regular-svg-icons";
<fa icon="user" />
<fa :icon="['fas', 'user']"></fa>
<fa icon="font-awesome" />
<fa :icon="['fab', 'font-awesome']"></fa>
<fa icon="window-close" />
<fa icon="['far','window-close']"></fa>