From e1458ba7820b6ba3ed5c6a9bd34f31bc017695c0 Mon Sep 17 00:00:00 2001 From: Mike Wilkerson Date: Thu, 3 May 2018 04:41:40 -0700 Subject: [PATCH] Fix library.add() typos (#13007) --- UPGRADING.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() ```