Did a bunch of digging around today, without much luck, as most articles still require you to use scss/sass, are referencing older versions of Laravel. This article should serve as a quick reference to get things running. First install these: npm install @fortawesome/fontawesome-svg-core npm install @fortawesome/free-solid-svg-icons Then edit your resources/js/app.js and add these lines: import { library,dom} from '@fortawesome/fontawesome-svg-core'; import { faAirFreshener } from '@fortawesome/free-solid-svg-icons/faAirFreshener'; import { faAddressBook } from '@fortawesome/free-solid-svg-icons/faAddressBook'; library.add(faAddressBook, faAirFreshener) dom.watch()

Couple of side notes: I tried using import { faAirFreshener, faAddressBook } from '@fortawesome/free-solid-svg-icons'; But my public/js/app.js file blew up to 1.51mb.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners