After spending some times drawing on the board and planning, finally I have time to start realizing the idea. You can read in other post why I am starting Generator-Office-X. I spend 2 weekends to read blogs, open source and finally come up with the first release of Generator-Office-X in npm library.
Generator-Office-X is now available in NPM official repository (https://www.npmjs.com/package/generator-office-x). You will need Yeoman before you can use generator-office-x. Installing is easy (assuming you have pre-installed node.js)
npm install -g yo npm install -g generator-office-x
When you install, it will also install official generator-office as dependencies. Hence, you can immediately use it to create Microsoft Office Add-ins project.
The generator allows creation of following project templates:
- Office Add-in project using Vue framework
- Office Add-in project using Angular framework
- Excel Custom Functions Add-in prject
- Office Add-in project using Jquery framework
- Office Add-in containing manifest only
- Office Add-in project using React framework
You may notice that project template 2-6 are those from official Microsoft Office add-ins project.
Office-X in action
Following screen shows how to use “yo office-x” to create office add-ins using VueJS.
And following screen shows, how to use “yo office-x” to create office add-ins from the official template.
The repo is accepting pull request from any developer. If you have any template, or receipies that you perform on top of official Office Add-ins generator and you would like to share - just create pull request and add as sub-generator.
The repository is available here : https://github.com/cakriwut/generator-office-x