Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap icons are not available #83

Open
fijolekProjects opened this issue Aug 2, 2013 · 2 comments
Open

bootstrap icons are not available #83

fijolekProjects opened this issue Aug 2, 2013 · 2 comments

Comments

@fijolekProjects
Copy link

I can't get angular-brunch-seed (v0.4.0) to work with bootstrap-less icons (or regular bootstrap installed manually with bower). They are not included in _public folder. The only workaround I found was to include bootstrap cdn link in app.less, but it's not pretty.

@kylefinley
Copy link
Member

Hey @fijolekProjects,

Yes, I'm aware of this. I haven't found a good solution yet. The problem is bower doesn't provide a way to specify assets (e.g. font files, *.png's, etc). So we can't automatically include them, when a file is added to .bower.json The short term solution is to include the icon files in the app/app/assets folder, but I was hoping to come up with something better. Do you have any thoughts on the best way to handle this?

@fijolekProjects
Copy link
Author

I've put my icon png file in app/assets/icons and then in styles/_overrides.less I've overridden icons url like this:

[class^="icon-"],
[class*=" icon-"] {
  background-image: url("../icons/glyphicons-halflings.png");
}

Ok, it's not pretty, but I haven't thought about it before and it definitely works. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants