2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-10 12:52:24 +03:00

feat: add pause/resume methods to pause updates

This commit is contained in:
pimlie
2019-02-20 14:46:05 +01:00
parent f270318c29
commit d237180cbd
8 changed files with 107 additions and 37 deletions
+6
View File
@@ -41,3 +41,9 @@ export function loadVueMetaPlugin(browser, options, localVue = getVue()) {
return localVue
}
export const vmTick = (vm) => {
return new Promise((resolve) => {
vm.$nextTick(resolve)
})
}