我使用5.2版(package.json
)
"@fortawesome/fontawesome-svg-core": "^1.2.2",
"@fortawesome/free-brands-svg-icons": "^5.2.0",
"@fortawesome/free-regular-svg-icons": "^5.2.0",
"@fortawesome/free-solid-svg-icons": "^5.2.0",
用法:
源代码中的效果:
网站上的效果(动画GIF):
如何使所有FA图标立即显示?