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

Fix import statement in fontawesome documentation #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions docs/assets/components/views/FontAwesome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,15 @@
<div class="ui segment">
<!-- HTML generated using hilite.me -->
<div style="background: #ffffff; overflow:auto;width:auto;;border-width:.1em .1em .1em .8em;padding:.2em .6em;"><pre style="margin: 0; line-height: 125%"><span style="color: #0000aa">import</span> {FaRating} from <span style="color: #aa5500">&#39;vue-rate-it&#39;</span>;
<span style="color: #0000aa">import</span> {ThumbsUp} from <span style="color: #aa5500">&#39;vue-rate-it/glyphs/thumbs-up&#39;</span>;
<span style="color: #0000aa">import</span> ThumbsUp from <span style="color: #aa5500">&#39;vue-rate-it/glyphs/thumbs-up&#39;</span>;

<span style="color: #0000aa">export</span> <span style="color: #0000aa">default</span>{
components:{
FaRating
},
created(){
// register the icon
this.thumbsUp = ThumbsUp
},
data(){
return{
thumbsUp: '' // declare the icon
thumbsUp: ThumbsUp // declare the icon
}
}
}
Expand Down