Update UPGRADING.md

Fix typo in `@fortawesome/fontawesome` and `@fortawesome/fontawesome-svg-core`
This commit is contained in:
Jonathan Beliën 2018-05-03 10:53:48 +02:00 committed by GitHub
parent 28d2f62b6c
commit a0e8313204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ What does that mean?
~~Old way:~~
```javascript
import fontawesome from '@fontawesome/fontawesome'
import fontawesome from '@fortawesome/fontawesome'
import solid from '@fortawesome/fontawesome-free-solid'
import faTwitter from '@fortawesome/fontawesome-free-brands/faTwitter'
import FontAwesomeIcon from '@fortawesome/vue-fontawesome'
@ -72,7 +72,7 @@ import fontaweome.library.add(solid, faTwitter)
New way:
```javascript
import { library } from '@fontawesome/fontawesome-svg-core'
import { library } from '@fortawesome/fontawesome-svg-core'
import { fas } from '@fortawesome/free-solid-svg-icons'
import { faTwitter } from '@fortawesome/free-brands-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'