components-font-awesome

WebJar for components-font-awesome

License

License

CC-BY-4.0
MIT
OFL-1.1
GroupId

GroupId

org.webjars.bowergithub.components
ArtifactId

ArtifactId

font-awesome
Last Version

Last Version

5.15.3
Release Date

Release Date

Type

Type

jar
Description

Description

components-font-awesome
WebJar for components-font-awesome
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/components/font-awesome

Download font-awesome

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.components/font-awesome/ -->
<dependency>
    <groupId>org.webjars.bowergithub.components</groupId>
    <artifactId>font-awesome</artifactId>
    <version>5.15.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.components/font-awesome/
implementation 'org.webjars.bowergithub.components:font-awesome:5.15.3'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.components/font-awesome/
implementation ("org.webjars.bowergithub.components:font-awesome:5.15.3")
'org.webjars.bowergithub.components:font-awesome:jar:5.15.3'
<dependency org="org.webjars.bowergithub.components" name="font-awesome" rev="5.15.3">
  <artifact name="font-awesome" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.components', module='font-awesome', version='5.15.3')
)
libraryDependencies += "org.webjars.bowergithub.components" % "font-awesome" % "5.15.3"
[org.webjars.bowergithub.components/font-awesome "5.15.3"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Font Awesome

Shim repository for Font Awesome.

The full suite of pictographic icons, examples, and documentation can be found at: https://fontawesome.com/

Package Managers

  • npm: components-font-awesome
  • Bower: components-font-awesome
  • Component: components/font-awesome
  • Composer: components/font-awesome

Installation

Gulp

Re-compile bower

If using bower, do not forget to re-compile bower using gulp bower. Here is the sample code if you do not have one.

// Update Foundation with Bower and save to /vendor
gulp.task('bower', function() {
  return bower({ cmd: 'update'})
    .pipe(gulp.dest('vendor/'))
});
Combine css

With gulp, usually there is a function to combine all scss to css file for faster page loads. In the sample case we run function gulp style to combine all scss to css file under ./assets/css/

Move font font folder

Here is the important part, the default font folder is on different path with the compiled bower file. We need to move the font from default font folder to the compiled bower folder (In the example vendor is the compiled folder).

// Move font-awesome fonts folder to css compiled folder
gulp.task('icons', function() {
    return gulp.src('./vendor/components-font-awesome/webfonts/**.*')
        .pipe(gulp.dest('./assets/fonts'));
});

License

org.webjars.bowergithub.components

Components

Versions

Version
5.15.3
5.9.0
5.4.2