nagoshiashumari / Rpg-Awesome

A fantasy themed font and CSS toolkit.
http://nagoshiashumari.github.io/Rpg-Awesome/
BSD 2-Clause "Simplified" License
863 stars 50 forks source link

Add a "Getting Started Section" #11

Open nagoshiashumari opened 9 years ago

nagoshiashumari commented 9 years ago

Add a Getting Started Section.

The section would show how to set up the font.

idmontie commented 7 years ago

This should probably be on the README as well.

alucard87pl commented 6 years ago

I'm guessing this hasn't been finished yet? I've installed rpg-awesome through npm, how do I use it, considering I';m also implementing React.js?

idmontie commented 6 years ago

PRs are always welcome :wink:

Until then:

npm add --save rpg-awesome

app.jsx

// Assuming you are using css-loader
import 'rpg-awesome/css/rpg-awesome.css';

// ...
<i className="ra ra-aura" />

It looks like the package.json could also be updated to have a main entry as well. I'll go ahead and add an issue for that.