项目作者: GregYankovoy

项目描述 :
高级语言: JavaScript
项目地址: git://github.com/GregYankovoy/vue-cli-plugin-fontawesome.git
创建时间: 2018-10-19T21:43:40Z
项目社区:https://github.com/GregYankovoy/vue-cli-plugin-fontawesome

开源协议:MIT License

下载


vue-cli-plugin-fontawesome

fontawesome for vue-cli@3.0

Install

If you haven’t yet installed vue-cli 3, first follow the install instructions here: https://github.com/vuejs/vue-cli

Generate a project using vue-cli 3.0

  1. vue create my-app

Before installing the fontawesome plugin, make sure to commit or stash your changes in case you need to revert

To install the fontawesome plugin…

  1. cd my-app
  2. vue add fontawesome

Usage

This is quick vue-cli 3 plugin for adding FontAwesome capability to a cli scaffolded application. It is a using the FontAwesome 5 vue-fontawesome component.

Icon display example:

  1. <font-awesome-icon icon="user-secret"></font-awesome-icon>

By default, this plugin adds all available free icons to the bundle process. Full list available at:
https://fontawesome.com/icons?d=gallery&m=free

More detailed usage instructions can be obtained from that component’s ReadMe section:
https://github.com/FortAwesome/vue-fontawesome#usage