Glyphicons not appearing after running grunt in angular generator

倖福魔咒の 提交于 2019-12-11 18:58:57

问题


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-...


回答1:


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

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

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



来源:https://stackoverflow.com/questions/23587597/glyphicons-not-appearing-after-running-grunt-in-angular-generator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!