-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Version 4.0.1 stable, boostrap glyphicons don't seem to work #2188
Comments
getting any errors? |
I get some errors when i'm starting the apps from gulp. I don't know if they are of any relevance.
I don't get any errors in the browser console however. |
I found this ubuntu issue however: http://askubuntu.com/questions/804639/font-viewer-not-running-in-ubuntu-16-04 Do you think this might be the cause of the problem ? |
@marius-avram that does not look related |
@marius-avram if you look in the network tab of your browser tools, do you see the font files getting loaded? |
I'm having this same issue, but I'm running on Windows not Ubuntu. None of the custom fonts are being loaded, neither bootstrap, font-awesome, or my custom fonts. There is no font files in the network tab on Chrome. I've checked the outputted app.css file and it has the font-face nodes. I'm not seeing any errors related to fonts it just seems like the browser isn't even attempting to load the fonts even though they are defined in the CSS. |
+1 |
+1 on windows |
Getting the same with 4.1.0, just noting a few additional observations:
|
+1 OSX. Using CSS and not SCSS |
+1 on Ubuntu with chrome. |
/**
*Font Awesome Fonts
*/
@font-face {
font-family: 'FontAwesome';
src: url('~font-awesome/fonts/fontawesome-webfont.eot?v=4.1.0');
src: url('~font-awesome/fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),
url('~font-awesome/fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'),
url('~font-awesome/fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'),
url('~font-awesome/fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
} Scratch that, I've tested an actual solution |
Sorry, but replacing the font in app.css described above did not fix my issue with 4.1.0 on OSX with Chrome and Firefox. |
Instead, try changing this line in ? ExtractTextPlugin.extract('style', 'css?sourceMap!postcss') to this: ? ExtractTextPlugin.extract('style', 'css!postcss') |
Appears that webpack.make.js change above fixed it - thanks! |
+1 for the fix |
Hey, if you're getting this with: |
After I run npm install, and gulp serve the glypicons don't seem to work. They are just missing/square characters. I tried both in chrome and firefox.
If I access the font files from the browser like this they get downloaded:
localhost:3000/assets/fonts/bootstrap/glyphicons-halflings-regular.svg
However I don't understand why they are not showing up correctly in the browser.
The text was updated successfully, but these errors were encountered: