在角发电机运行咕噜后Glyphicons未出现 [英] Glyphicons not appearing after running grunt in angular generator

查看:89
本文介绍了在角发电机运行咕噜后Glyphicons未出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您运行咕噜来构建应用程序,在 DIST 文件夹错误创建vendor.css文件-links的glyphicons为 /应用/ bower_componenets /.../ glyphicons -... 而不是 ../字体/ glyphicons- ..

When you run grunt to build the app, the vendor.css file created in the dist folder 'mis-links' the glyphicons as /app/bower_componenets/.../glyphicons-... instead of ../fonts/glyphicons-...

推荐答案

Gruntfile.js 注释掉以下行来解决这个问题:

In Gruntfile.js comment out the following line to fix this issue:

cssmin: {
  options: {
    //root: '<%= yeoman.app %>'
  }
}

来源: https://github.com/yeoman/generator-angular/issues/ 645

这篇关于在角发电机运行咕噜后Glyphicons未出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆