reactjssingle-sign-onoffice-jsoffice-addinsexcel-addins

How to create a project using yo office that enabled SSO for React


I want to create an Excel office add-in using yo office generator that allows me to pre-configure SSO features for react

I follow few steps and created addin project using

yo office

enter image description here

I referred official documents from Microsoft here

The library will generate full-source code in JavaScript or TypeScript. Is it possible to use it in a React project?


Solution

  • You need to install the required for react UI dependencies using the npm install command. The office-generator provides a skeleton for the react-enabled add-in without SSO, so you may try to generate one to observe what dependencies are required for that and then combine everything into a single add-in project. See Use Fluent UI React in Office Add-ins for more information.