Skip to content

Commit 893e211

Browse files
andrewconnellVesaJuvonen
authored andcommitted
office ui fabric core is a dependency not a DEV dependency in 1.5.1 (SharePoint#2139)
1 parent c1911d6 commit 893e211

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/spfx/office-ui-fabric-integration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ The following are not yet supported in the package:
4747
- Animations
4848
- Icons
4949

50-
Starting with the SharePoint Framework Yeoman generator version 1.3.4, the default project (web parts and extensions) templates come setup with the new **@microsoft/sp-office-ui-fabric-core** package and consume core styles from the package instead of using global CSS styles.
50+
Starting with the SharePoint Framework Yeoman generator version 1.3.4, the default project (web parts and extensions) templates come setup with the new **@microsoft/sp-office-ui-fabric-core** package and consume core styles from the package instead of using global CSS styles.
5151

5252
### Update existing projects
5353

54-
To use the Fabric Core package in your existing project, install the package as a dev dependency:
54+
To use the Fabric Core package in your existing project, install the package as a dependency:
5555

5656
```
57-
npm install @microsoft/sp-office-ui-fabric-core --save-dev
57+
npm install @microsoft/sp-office-ui-fabric-core --save
5858
```
5959

6060
After it's installed, you can then import the Fabric Core Sass declarations in your Sass definition file and use the mixins and variables as described in the following section.
@@ -111,7 +111,7 @@ The Fabric React package includes the supported Fabric Core styles used in the F
111111
Because the **@microsoft/sp-office-ui-fabric-core** package is already installed in your solution by the Yeoman generator, we recommend that you uninstall that package if you decide to use Fabric components and reduce your component bundle size.
112112

113113
```
114-
npm uninstall @microsoft/sp-office-ui-fabric-core --save-dev
114+
npm uninstall @microsoft/sp-office-ui-fabric-core --save
115115
```
116116

117117
You can then import the core styles from the Sass declarations available in the Fabric React package.

0 commit comments

Comments
 (0)