📜  如何在angualr中获取fas图标-任何代码示例

📅  最后修改于: 2022-03-11 14:57:47.908000             🧑  作者: Mango

代码示例1
import { library } from '@fortawesome/fontawesome-svg-core';
import { fas } from '@fortawesome/free-solid-svg-icons';
import { far } from '@fortawesome/free-regular-svg-icons';
library.add(fas, far);