// Font awesome /* import the fontawesome core */ import { library, config } from '@fortawesome/fontawesome-svg-core' /* import font awesome icon component */ import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' // import icons // import { faEye, faEyeSlash, faLessThan, faGreaterThan, faPlus, faMinus, faLanguage, faGear, faLocationDot, faArrowsRotate, faDiamondTurnRight} from '@fortawesome/free-solid-svg-icons' import { faCircleCheck, faCircleXmark, faSquare, faSquareCheck, faTrashCan} from '@fortawesome/free-regular-svg-icons' export default defineNuxtPlugin((nuxtApp) => { library.add(faCircleCheck, faCircleXmark, faEye, faEyeSlash, faSquare, faSquareCheck, faTrashCan, faLessThan, faGreaterThan, faPlus, faMinus, faGear, faLocationDot, faArrowsRotate, faDiamondTurnRight, faLanguage) nuxtApp.vueApp.component('FontAwesomeIcon', FontAwesomeIcon) }) import '@fortawesome/fontawesome-svg-core/styles.css' // Empêche FontAwesome d’injecter son CSS automatiquement config.autoAddCss = false