Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { library } from '@fortawesome/fontawesome-svg-core';
// Official documentation available at: https://github.com/FortAwesome/vue-fontawesome
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
// If not present, it won't be visible within the application. Considering that you
// don't want all the icons for no reason. This is a good way to avoid importing too many
// unnecessary things.
library.add(
require('@fortawesome/free-solid-svg-icons').faGraduationCap,
require('@fortawesome/free-solid-svg-icons').faList,
require('@fortawesome/free-solid-svg-icons').faSpinner,
require('@fortawesome/free-solid-svg-icons').faHome,
// Brands
require('@fortawesome/free-brands-svg-icons').faMicrosoft,
require('@fortawesome/free-brands-svg-icons').faVuejs,
require('@fortawesome/free-brands-svg-icons').faFontAwesome
);
export {
FontAwesomeIcon
}