下载font awesome框架的地址:http://fontawesome.dashgame.com/
- 拷贝 Font Awesome 字体目录到你的项目中。
- font-awesome.min.css 文件到你的项目中。
- 打开你的项目中的 font-awesome.min.css 文件并编辑字体路径指向正确的位置。
- 在html文档中的
<head>
部分,引入 font-awesome.min.css 文件。
<link rel="stylesheet" href="{dede:global.cfg_templets_skin/}/css/font-awesome.min.css">
这样就将图标库引进项目了。