Вопрос

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: enter image description here

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: enter image description here

Any help, please?

Это было полезно?

Решение

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
Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top