SPFx - How to install latest version of Office-UI-React for SPFx v1.0.2
-
02-01-2021 - |
Domanda
How to install latest version of Office-UI-React for SPFx v1.0.2 for On-Premise server?
With buildIn React version in SPfx framework v1.0.2 its all okay:
I can not use the latest version, what else to use as a framework like Office-UI-React
This is error when installed last version of Office-UI-React:
Any help, please?
Soluzione
The problem here is that newer versions of office-ui-fabric-react are incompatible with the typescript version required by spfx 1.0.2.
You can try this version, it should be supported.
npm -i office-ui-fabric-react@2.20.0 --save
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange