Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

element-ui 2.0版本如何使用font-awesome #5

Open
qinaichen opened this issue Dec 6, 2017 · 1 comment
Open

element-ui 2.0版本如何使用font-awesome #5

qinaichen opened this issue Dec 6, 2017 · 1 comment

Comments

@qinaichen
Copy link

请问在element-ui 2.0之后的版本中如何使用font-awesome,安装这个模板在新版本中已经不能用了,谢谢

@botaohuang
Copy link

我用的element-ui 2.4.11可以使用font-awesome, 不需要再用什么模板即可使用.
我的做法如下

  1. 先安装font-awesome包及其需要的依赖
cnpm install font-awesome --save
cnmp install sass-loader
cnpm install node-sass
  1. 在对应的页面中直接使用font-awesome的icon
<i class="fa fa-clone" ><i>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants