diff --git a/UPGRADING.md b/UPGRADING.md index 64cb1af5a..5f85921bb 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -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: @@ -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 tags and replacing with dom.watch() ```