From 6560d892d63c4e518e8d04ae179ee8a9299ca650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Beli=C3=ABn?= Date: Thu, 3 May 2018 13:37:17 +0200 Subject: [PATCH] Update UPGRADING.md (#13010) Add missing `import dom` and `dom.watch()` --- UPGRADING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/UPGRADING.md b/UPGRADING.md index ab4a952c4..64cb1af5a 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -72,12 +72,14 @@ import fontaweome.library.add(solid, faTwitter) New way: ```javascript -import { library } from '@fontawesome/fontawesome-svg-core' +import { library, dom } from '@fontawesome/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' import library.add(fas, faTwitter) + +dom.watch() ``` This is also a valid way to import icons that works if your tool does not support tree shaking: