components-font-awesome

WebJar for components-font-awesome

License

License

MIT
Openfont-1.1
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

components-font-awesome
Last Version

Last Version

4.7.0
Release Date

Release Date

Type

Type

jar
Description

Description

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

Project URL

http://webjars.org
Source Code Management

Source Code Management

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

Download components-font-awesome

How to add to project

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

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.bower

Components

Versions

Version
4.7.0
4.6.3
4.5.0
4.4.0
4.3.0