Hi everyone,
I am trying to add font awesome icons to Sage 9, and it shows on the page, but there is an error on the console log that I don’t understand how it happens.
I put the fontawesome inside the main.js file
import fontawesome from "@fortawesome/fontawesome";
import * as addressBook from '@fortawesome/free-solid-svg-icons/faAddressBook';
fontawesome.library.add(addressBook);
My package.json
"dependencies": {
"@fortawesome/fontawesome": "^1.1.8",
"@fortawesome/fontawesome-free-brands": "^5.0.13",
"@fortawesome/free-solid-svg-icons": "^5.1.1",
....
}
It works but there still an error. Can you help to demystify this? Thanks,