Skip to content

Commit 398524a

Browse files
committed
Fixing dialog tutorial on fabric usage
1 parent 4f5eb0a commit 398524a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/spfx/extensions/guidance/using-custom-dialogs-with-spfx.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,15 @@ To create a custom dialog box, you need to follow the steps in [Set up your deve
6060

6161
![SharePoint client-side solution scaffolded successfully](../../../images/ext-com-dialog-yeoman-complete.png)
6262

63-
6. After the scaffolding completes, lock down the version of the project dependencies by running the following command:
63+
6. When initial scaffolding is completed, enter the following to explicitly install the 5.x version fo the Office UI Fabric to your solution:
6464

6565
```sh
66-
npm shrinkwrap
66+
npm install [email protected]
6767
```
6868

69+
> [!NOTE]
70+
> Starting with SharePoint Framework 1.8, you can use either Office UI Fabric version 5 or version 6. In this case we are using specifically Office UI Fabric version 5.143.0, so we are adding the needed dependency on it. If you would be using Office UI Fabric version 6.x, you'd also need to update the used TypeScript version of the solution.
71+
6972
7. Open your project folder in your code editor. This article uses Visual Studio Code in the steps and screenshots, but you can use any editor that you prefer. To open the folder in Visual Studio Code, use the following command in the console:
7073

7174
```sh

0 commit comments

Comments
 (0)