Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 807 Bytes

tutorial-excel-start-server.md

File metadata and controls

12 lines (7 loc) · 807 Bytes

If the local web server is already running and your add-in is already loaded in Excel, proceed to step 2. Otherwise, start the local web server and sideload your add-in:

  • To test your add-in in Excel, run the following command in the root directory of your project. This starts the local web server (if it's not already running) and opens Excel with your add-in loaded.

    npm start
    
  • To test your add-in in Excel on the web, run the following command in the root directory of your project. When you run this command, the local web server starts. Replace "{url}" with the URL of an Excel document on your OneDrive or a SharePoint library to which you have permissions.

    [!INCLUDE npm start on web command syntax]