Skip to content

Commit

Permalink
Fix library.add() typos (#13007)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlwilkerson authored and robmadole committed May 3, 2018
1 parent 6560d89 commit e1458ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import solid from '@fortawesome/fontawesome-free-solid'
import faTwitter from '@fortawesome/fontawesome-free-brands/faTwitter'
import FontAwesomeIcon from '@fortawesome/vue-fontawesome'

import fontaweome.library.add(solid, faTwitter)
library.add(solid, faTwitter)
```

New way:
Expand All @@ -77,8 +77,9 @@ import { fas } from '@fortawesome/free-solid-svg-icons'
import { faTwitter } from '@fortawesome/free-brands-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'

import library.add(fas, faTwitter)
library.add(fas, faTwitter)

// Kicks off the process of finding <i> tags and replacing with <svg>
dom.watch()
```

Expand Down

0 comments on commit e1458ba

Please sign in to comment.