![]() All rights reserved.Ĭonst `) Īwait (this.account) Ĭonst account = this.account || (await this. Next, create file named main.js and add the following code: /* Please sign-in to see your profile and read your mails Add the following code there: Įlectron sample app calling MS Graph API using MSAL Node Inside this folder, create a file named index.html that will serve as UI. Npm install -save-dev create a folder named App. Npm install -save isomorphic-fetch bootstrap jquery popper.js ![]() Platform type: Mobile and desktop applicationsĬreate a folder to host your application, for example ElectronDesktopApp.įirst, change to your project directory in your terminal and then run the following npm commands: npm init -y.Supported account types: Accounts in my organizational directory only (single tenant).Install the create-react-app dependencies. Install foreman to allow executing the app from command line. Use the following settings for your app registration: Prior to Node.js, JavaScripts runs only under a web browser (such as Chrome, Firefox, and MSIE) bundled with a built-in JavaScript engine. 2021 UPDATE: I highly recommend using electron-react-boilerplate instead of the approach described in this post. Visual Studio Code or another code editorįirst, complete the steps in Register an application with the Microsoft identity platform to register your app.Register the application in the Azure portal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |