To start the AddIn locally, Node.js and npm must be installed.
An activated version of PowerPoint is also required.
To prepare the project for the first execution, the following two commands must be executed one after the other:
npm installnpm run build:devAfter the project has been successfully built, the following command starts the AddIn.
npm run start:desktopA new PowerPoint instance should be started at startup. After a few moments, the version of the AddIn can be seen in this instance. This is reflected as follows. If an installation of the AddIn already exists, the icon on the right-hand side is the locally started one.
While the code is being edited, the AddIn should be continuously updated (HotReload) so that the DevServer does not have to be restarted. As soon as the local instance is no longer required, it can be terminated with the following command:
npm run stopAfter running the following command, the developer console is available with right click into the add-in window and selecting element information.
defaults write com.microsoft.Powerpoint OfficeWebAddinDeveloperExtras -bool true
PowerPoint Api-Documentation Office AddIn Scripts Office AddIn Samples
