meteor-font-awesome-sass
Font Awesome stylesheets in SCSS format packaged for Meteor
IMPORTANT UPDATE: As of version 4.2.2_1, the fourseven:scss
package is no longer automatically installed with this package. This allows projects to choose which SCSS compiler package they would like to use.
To install
Select and install an SCSS compiler package. These include fourseven:scss
, stevezhu:sass
, etc. Then, install the reywood:font-awesome-sass
package.
$ meteor add fourseven:scss $ meteor add reywood:font-awesome-sass
To use
To activate Font Awesome styles on your site, add the following line to the top of your main scss file:
@import '.meteor/local/build/programs/server/assets/packages/reywood_font-awesome-sass/font-awesome';
Due to a current limitation of the Meteor packaging system, the above path may not exist the first time you run your Meteor app after installing this package. This will cause an error saying the file to import was not found. This may also occur if you run meteor reset
. Restarting your app should fix this problem. See meteor/meteor#2606 and meteor/meteor#2796 for more info.
If you find a bug or would like to see an improvement made, please file an issue on GitHub.