This repository contains the source code used by the Yo Office generator when you create a new Office Add-in that appears in the task pane.
Install dependencies:
npm install
Copy files in ./node_modules/@microsoft/office-js/dist/
to ./assets/office-js/
Run dev-server:
npm run dev-server
Add addin's manifest.xml to your Excel App, refer to Sideload Office Add-ins for testing
This template is written using JavaScript. It added some package: vue.js, element-ui, stylus, and configured for webpack.
If you want to add more package, refer to Build an Office Add-in using Vue.js
This template supports debugging using any of the following techniques:
- Use a browser's developer tools
- Attach a debugger from the task pane
- Use F12 developer tools on Windows 10
- Use vue-devtools
We'd love to get your feedback about this sample. You can send your feedback to us in the Issues section of this repository.
Questions about Microsoft Office 365 development in general should be posted to Stack Overflow. If your question is about the Office JavaScript APIs, make sure it's tagged with [office-js].
- Office add-in documentation
- More Office Add-in samples at OfficeDev on Github
Copyright (c) 2019 Microsoft Corporation. All rights reserved.