本文介绍了带有VuetifyJs 1.0.0的Fontawesome 5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将Fontawesome 5 Icons与VuetifyJs一起使用.那可能吗?我应该使用哪个用于fontawesome的npm软件包?因为没有人为我工作.作为一名经验不足的VuetifyJs开发人员,使用VuetifyJs令我感到困惑,而在VuetifyJs的文档中却没有任何明确的步骤.

I want to use Fontawesome 5 Icons with VuetifyJs. Is that possible? which npm package for fontawesome should I use? because no one worked for me.It is really confusing for me as an inexperienced VuetifyJs developer to use it, with the lack of any clear steps in the documentation of VuetifyJs.

推荐答案

来自文档:

发布说明:

v-icon现在支持FontAwesome 5

v-icon now supports FontAwesome 5

您可能只需要将其包含在<head>内的index.html

You probably just need to include it in your index.html inside <head> or so

<link href="https://use.fontawesome.com/releases/v5.0.6/css/all.css" rel="stylesheet">

然后像<v-icon>fa-search</v-icon>

这篇关于带有VuetifyJs 1.0.0的Fontawesome 5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-09 22:22