PredixDev / predix-webapp-starter

A web application starter kit built on Polymer, Web Components, NodeJS and Predix UI Components
https://predix-webapp-starter.run.aws-usw02-pr.ice.predix.io
Other
61 stars 75 forks source link

fontawesome files not found #13

Closed Asheq closed 6 years ago

Asheq commented 6 years ago

I'm getting some errors in the Chrome dev console. Please see screenshot below:

image

It appears that the icons are appearing in the app itself so this is perhaps a minor issue, but I'm striving to keep the console as clean as possible.

turnerth commented 6 years ago

+1

gstroup commented 6 years ago

I have a fix for this problem, which we hope to deploy soon. In public/elements/seed-app/seed-app.scss, around line 27. Set the font path before importing px-buttons-design. This is a temporary fix, until we upgrade all the px-components to the latest versions. Thanks.

// Need this font path for some reason, to prevent 404 errors in console.
$fa-font-path: '../../bower_components/font-awesome/fonts';
@import "px-buttons-design/_objects.buttons.scss";
gstroup commented 6 years ago

fixed with latest release.