gpt4 book ai didi

font-awesome - 带有 VuetifyJs 1.0.0 的 Fontawesome 5

转载 作者:行者123 更新时间:2023-12-04 16:42:11 25 4
gpt4 key购买 nike

我想在 VuetifyJs 中使用 Fontawesome 5 图标。那可能吗?我应该使用哪个用于 fontawesome 的 npm 包?因为没有人为我工作。
作为一个没有经验的 VuetifyJs 开发人员使用它真的很困惑,因为在 VuetifyJs 的文档中缺乏任何明确的步骤。

最佳答案

来自 docs :

Font Awesome is also supported. Simply use the fa- prefixed icon name.Please note that you still need to include the Font Awesome icons inyour project.


Release notes :

Things we added

v-icon now supports FontAwesome 5


您可能只需要将它包含在您的 index.html 中。内 <head>或者 <link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet">然后使用像 <v-icon>fa-search</v-icon>

关于font-awesome - 带有 VuetifyJs 1.0.0 的 Fontawesome 5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48783624/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com