An Office service that supports add-ins to interact with objects in Office client applications.
How can I deploy a react-based outlook addin
Hi
I have created an outlook office add-in using the yeoman generator react-taskpane option. The add-in is sideloaded in outlook.com/ outlook desktop application and mobile.
I tried the following production deployment steps as I would do for a normal react app:
- Created the dist folder using npm run build
- Ran the command npm install -g serve in VS code terminal
- Ran the command serve -s dist in VS code terminal but got the following error:
"serve.ps1 cannot be loaded because running scripts is disabled on this system"
But when I ran the same command in cmd prompt it worked and started serving.
But all the corresponding .js files to the .tsx files are not inside the dist folder. What could be the reason for this?
Link to Stack Overflow: https://stackoverflow.com/questions/72540522/how-can-i-deploy-a-react-based-outlook-add-in
Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Outlook | Windows | Classic Outlook for Windows | For business
Using classic Outlook for Windows in business environments
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Microsoft 365 and Office | Development | Microsoft 365 Publishing
End-to-end process of building, validating, and distributing custom apps and add-ins across Microsoft 365 platforms