Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need more specific examples in the docs #37

Open
yehosef opened this issue Dec 7, 2017 · 0 comments
Open

Need more specific examples in the docs #37

yehosef opened this issue Dec 7, 2017 · 0 comments

Comments

@yehosef
Copy link

yehosef commented Dec 7, 2017

Example of requiring and using font-awesome middleware to create compile function to utilize in other frameworks

I'm sorry if this is a noob question - I'm a noob in this realm. I'm new to stylus and font-awesome. I'm playing around with https://github.com/vuejs/vue-hackernews-2.0 and it uses stylus in the components.

I'm not clear how to use this in a project. Here are some of my questions:

Is the $fa-font = ... in a certain stylus file, or all of them?

The same with the code var fontAwesome = ..., function compile(str) { .... Do I need this always or only in certain situations. And where do I put it?

And for the usage - the example is fa(user) - can I combine other properties like those at http://fontawesome.io/examples/#basic - eg fa(user rotate-90 2x)

a few full examples would really be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant