Skip to content

An Angular 11.x application that runs as a Word task pane add-in.

License

Notifications You must be signed in to change notification settings

Yiao/office-angular

 
 

Repository files navigation

OfficeAngular

This project was generated with Angular CLI version 11.2.2.

Development server

The self-signed SSL certificates used for development expire after 30 days. Run npm run ssl:config to create new ones when needed.

Run npm run dev-server for a dev server. Run npm run start:desktop to open Word and sideload the add-in automatically.

To run on the web, get the shareable link for a document you have access to, then run npm run start:web -- --document https://thedocumenturl to open Word in your default browser and sideload the add-in. If this doesn't work on the first try, you may need to visit https://localhost:4200 first to let your browser know to trust the self-signed certificate that is being used.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run npm run build:dev to build the project. The build artifacts will be stored in the dist/ directory. Use npm run build for a production build.

Running unit tests

Run npm run test to execute the unit tests via Karma. Use npm run test:coverage to generate a coverage report in /coverage.

Running end-to-end tests

Run npm run e2e to execute the end-to-end tests via Protractor.

Debugging

This template supports debugging using any of the following techniques:

Additional resources

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

About

An Angular 11.x application that runs as a Word task pane add-in.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 72.1%
  • TypeScript 21.4%
  • JavaScript 6.3%
  • SCSS 0.2%