element-font-awesome icon indicating copy to clipboard operation
element-font-awesome copied to clipboard

how to install this ?

Open crapthings opened this issue 7 years ago • 1 comments

crapthings avatar Nov 24 '17 13:11 crapthings

Follow the steps

  1. npm install font-awesome --save
  2. include css code in your App.vue
<style lang="less">
  [class^="el-icon-fa"], [class*=" el-icon-fa"] {
    display: inline-block;
    font-family: FontAwesome!important;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  };
  @import url("../node_modules/font-awesome/less/font-awesome");
  @fa-css-prefix: el-icon-fa;
</style>

AshwinTayson avatar Nov 28 '17 11:11 AshwinTayson