Reputation: 837
I found that when I try to run grunt inside the project generated by yeoman web-generator, it did copy the glyphicon fonts to bower_components/bootstrap-sass-official/vendor/assets/fonts/bootstrap/
, however from the main.css file,
I saw that all the reference link is /bower_components/...
instead of ../bower_components/...
After I modify the link to ../
format, it successful find the icons again.
I can't believe it's a bug, because it's so obviously problem that everyone using it will encountered, anyone face the same issue of me? and is there a solved method for that?
Upvotes: 2
Views: 304
Reputation: 35806
You can try to remove the root options in the cssmin
task, and/or edit the $icon-font-path
variable in your main.scss
.
Here is the relatives Github issue and another one.
Upvotes: 2