This might not work with Office specifically, but a boot file can wait asynchronously:
export default async ({ Vue }) => {
await Office.onReady(function () {
// ...
});
};
Notice the async
and await
. Add that boot file first thing in the boot
array in quasar.conf.js
.
I’ve used this pattern to wait fetching a configuration file before my app initializes Vue.