Creating Office add-in generator using Vue (part-3)

By | September 15, 2018

In part-2, I have described how start to create a new Office add-in Vue template generator. As new template author, I relies on Yeoman documentation, original generator-office source code and rounds of rounds of testing to ensure that the new template will work.

Fortunately the generator-office source code has been developed with easy to follow structure. The source code is available openly, so that I can read and follow the framework – even with minimum documentation.

Step-6 : Push to my fork repository

I commit the changes to the local branch, and provide commit comments using following command.

git add .
git commit -m "Add vue in project"

Then, I push the changes to my fork repository using following command.

git push --set-upstream origin vue-template

Then subsequently, I can push the changes to my fork repository using following command.

git push

The fork repository allows me to work on my own repo, without impacting the upstream repository.

I have 2 branches, based on original master branch:

  1. vue-template , this branch contains JavaScript Vue template
  2. vue-template-ts, this branch contains TypeScript Vue template

You can browse my fork here https://github.com/cakriwut/generator-office.

Step 7 : Create Pull request

I create pull request to the https://github.com/OfficeDev/generator-office maintainer. I hope my pull request “Vue template” will be approved.

So, now finger crossed – since all pre build check are passed. I just wait for the approval.

One thought on “Creating Office add-in generator using Vue (part-3)

  1. Pingback: Ideal contribution to open source – Ideas For Free

Leave a Reply