Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Using Router with Office.js: router tries using push state even tho it's reset manually by the office js script #3154
What problem does this feature solve?
What does the proposed API look like?
We would add a check at this position:
The additional check could look like this:
so the whole function might look like this:
Alternatively, we could check if
This would result in this return statement, the rest of the function not being changed:
I found a workaround so vue router doesn't have to be changed:
Before importing vue router, add the following lines:
Then, import vue router and init it, before initializing office.js.