【发布时间】:2014-08-08 07:09:47
【问题描述】:
我不知道如何在简单的 Meteor App 中使用 Glypicons Pro:
meteor create meteor-introcd meteor-intro-
meteor(运行应用程序,它工作正常) meteor add bootstrap-3将这些文件夹复制到meteor-intro app文件夹中 下载\glyphicons_pro\glyphicons_pro\glyphicons\web\html_css\css 下载\glyphicons_pro\glyphicons_pro\glyphicons\web\html_css\fonts 下载\glyphicons_pro\glyphicons_pro\glyphicons\web\html_css\images
-
用以下内容替换meteor-intro.html的内容:
<head> <title>meteor-intro</title> <link rel="stylesheet" href="css/style.css?v=2"> <link rel="stylesheet" href="css/glyphicons.css"> </head> <body> <h2>Fonts</h2> <div class="list list-fonts c"> <a href="" class="glyphicons glass"><strong>glass</strong><span>UTF E001</span></a> <a href="" class="glyphicons server_new"><strong>server_new</strong><span>UTF E470</span></a> </div> </body>
Meteor 应用程序运行但字形图标未呈现。我怎样才能让它们渲染??
【问题讨论】:
-
对不起...我也不知道如何包含上面的 HTML 代码 sn-p 而不将其呈现为 HTML :(
-
@Neil 谢谢!现在我明白了!
-
@gdbMeteor 没问题。在这里找到meta.stackexchange.com/questions/22186/…
标签: meteor twitter-bootstrap-3 glyphicons